A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Help with CDO



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old January 26th 09, 07:49 AM posted to microsoft.public.outlook.program_vba
Bob Smith
external usenet poster
 
Posts: 34
Default Help with CDO

I have run into a problem that appears to be related to multiple profiles
maching the logon I pass in via CDO. I presume this is related to the Show
Dialogue switch on CDO logon.

An example here would be that I have two accounts with similar names. The
alias of account 1 is "testuser" account 2 is "testuser2". When I pass in the
following;

objsession.Logon "","",false,true,true,true,servername,"testuse r"
I get back;

The information store could not be opened MAPI_E_LOGON_FAILED

If I pass in
objsession.Logon "","",false,true,true,true,servername,"testuse r2"
It works because is has resolved the profile without multiple returns.

How do I tell CDO logon that the alias I am passing in it absolute?


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:30 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.