system
1
Trying to do the email thing on a new server and am getting the following error message.
Run-time error ‘13’:
Error -2147221231: [Collaboration Data Objects -
[MAPI_E_LOGON_FAILED(80040111]]
HELP!
I ready to jump!
Barry D. Beaton
(BOB member since 2002-07-19)
system
2
This is being discussed here…
avaksi
(BOB member since 2002-08-22)
system
3
Finally got it to work! Why… 
-
make sure gOUTLOOK_PROFILE_NAME is referencing the Outlook profile created on the server
-
The NT account that is logged in on the server needs to have permissions to the mail account on the Exchange server
The current production server had the correct Outlook profile as seen in this line in the .REA code…
g_objSession.Logon profileName:=gOUTLOOK_PROFILE_NAME, newSession:=True,
showDialog:=False
The gOUTLOOK_PROFILE_NAME was set to one thing and on the other newer server we set it to something else thinking is was the same. 
So now that we set it the right way
, it works. 
Barry D. Beaton
(BOB member since 2002-07-19)