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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to get current user email address by CDO



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 21st 07, 04:36 PM posted to microsoft.public.outlook.program_addins
KAKA
external usenet poster
 
Posts: 29
Default How to get current user email address by CDO

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  
Old September 21st 07, 05:30 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to get current user email address by CDO

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  
Old September 24th 07, 03:50 PM posted to microsoft.public.outlook.program_addins
KAKA
external usenet poster
 
Posts: 29
Default How to get current user email address by CDO

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  
Old September 24th 07, 05:16 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to get current user email address by CDO

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 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get SMTP address of contact that shares email address of an Exchange user Jeff Outlook and VBA 14 January 15th 09 01:50 AM
user name always includes my email address Kiwi Bill Outlook - Installation 4 August 30th 07 01:22 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 [email protected] 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


All times are GMT +1. The time now is 08:42 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.