![]() |
| 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. |
|
|||||||
| Tags: address, cdo, current, email, user |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 ? |
| Ads |
|
#2
|
|||
|
|||
|
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. -- 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 "KAKA" wrote in message ... 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 ? |
|
#3
|
|||
|
|||
|
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 ? "Ken Slovak - [MVP - Outlook]" wrote: 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. -- 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 "KAKA" wrote in message ... 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 ? |
|
#4
|
|||
|
|||
|
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. -- 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 "KAKA" wrote in message ... 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 ? |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| user name always includes my email address | Kiwi Bill | Outlook - Installation | 4 | August 30th 07 01:22 AM |
| Can't get SMTP address of contact that shares email address of an Exchange user | Jeff | Outlook and VBA | 13 | August 9th 07 02:04 AM |
| Outlook is not installed for current user | Ian Hobday | Outlook - Installation | 1 | November 13th 06 06:56 PM |
| Email address of the current user | cookiesncreamychoc@hotmail.com | Add-ins for Outlook | 3 | September 8th 06 07:44 AM |
| Outlook Multi-email acct should default "From address" to current | SB | Outlook - Installation | 7 | July 31st 06 06:57 PM |