Hello,
I've a small problem and I need some experts.
I am trying to access a remote Exchage server anonymously to send email
from within a VB dll. The program executes (sending mail) when I use a
profileName (with the Inbox profile) that is setup on the local machine
(where the dll is running).
To go for anon access, the 'anon' parameters for login (differnet then
using profileName) are:
strProfileInfo =
"/o=1ADCTECH/ou=1ADCTECH/cn=Configuration/cn=Servers/cn=ADCSRV1" & vbLf &
"anon" & vbLf & "anon"
Set objSession = CreateObject("MAPI.SESSION")
objSession.Logon "", "", False, True, 0, True, strProfileInfo
'This code produces a login failure error.
However, When I execute the code with ASP on the webserver with Exchange,
it will logon. Of course, the code reference also speaks of using an
exchange account and passing the strProfileInfo as ("exchangeserver" &
vblf & "accountname")
The purpose of this code is to pass the exchange server information into a
function and connect to that exchange server. I do not want to have a
profile. It seems documented and recommend to use the anon login.
I have read this article: MS Q195681
AND 152.196.229.229/asp7.htm
Any suggestions, solutions, or references are welcome, thanks in advance.
Matt
_________________________________________________________________
List posting FAQ: http://www.swinc.com/resource/exch_faq.htm
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe: mailto:[EMAIL PROTECTED]
Exchange List admin: [EMAIL PROTECTED]