Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / September 2007

Tip: Looking for answers? Try searching our database.

How to get current user email address by CDO

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KAKA - 21 Sep 2007 15:36 GMT
How to get current user email address by CDO ? I just can get the alias of
current user. But I can't get the mail address, I add the mail suffix
manully. Could someone show me a way ?
Ken Slovak - [MVP - Outlook] - 21 Sep 2007 16:30 GMT
Is this CDO 1.21? If so look at the samples for that (there are different
ones for Exchange and non-Exchange) at www.cdolive.com/cdo5.htm.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> How to get current user email address by CDO ? I just can get the alias of
> current user. But I can't get the mail address, I add the mail suffix
> manully. Could someone show me a way ?
KAKA - 24 Sep 2007 14:50 GMT
Hi, I can get the smto address now by myself in CDO1.21. But there is
something wrong that I could not get the address when login as local user not
in domain. Could you tell me why ?

> Is this CDO 1.21? If so look at the samples for that (there are different
> ones for Exchange and non-Exchange) at www.cdolive.com/cdo5.htm.
>
> > How to get current user email address by CDO ? I just can get the alias of
> > current user. But I can't get the mail address, I add the mail suffix
> > manully. Could someone show me a way ?
Ken Slovak - [MVP - Outlook] - 24 Sep 2007 16:16 GMT
Maybe because you don't have access to the GAL with that logon or because
CDO works that way. In the examples on CDOLive I pointed you to Sig
explicitly mentions that certain logons are required for the code to work.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Hi, I can get the smto address now by myself in CDO1.21. But there is
> something wrong that I could not get the address when login as local user
> not
> in domain. Could you tell me why ?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.