Accessing the exchange server with a vb dll

Results 1 to 2 of 2

Thread: Accessing the exchange server with a vb dll

  1. #1
    G Waddell Guest

    Default Accessing the exchange server with a vb dll

    hello I&#039;m using the technique in<BR>basically and asp page calls a vb dll that uses MAPI to log on to the exchange server and send a mail.<BR>I get the following error message <BR><BR>Collaboration Data Objects error &#039;80040111&#039; <BR><BR>The information store could not be opened. [MAPI 1.0 - [MAPI_E_LOGON_FAILED(80040111)]] <BR><BR><BR><BR>I think the problem is here, exchange server won&#039;t let me log on to start a new session<BR>objSession.Logon profilepassword:="password", showdialog:=False, profileinfo:=Server & vbLf & Mailbox, nomail:=True<BR>Do I need to supply more variables? I&#039;ve checked that I&#039;m passing the correct server, mailbox and password variables.<BR><BR>thanks

  2. #2
    Karin van Ettinger Guest

    Default RE: use profilename in profileinfo

    use a valid profilename in profileinfo<BR> for instance profileinfo:="myProfile"<BR><BR>afterwards you can define a folder for instance your Inbox or<BR>create a message as follows<BR> Set objMessage = objSession.Outbox.Messages.Add(all the stuff)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts