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 ?