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

Tags: , , , ,

How to get current user email address by CDO





 
 
Thread Tools 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: 3,778
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: 3,778
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
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
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


All times are GMT +1. The time now is 01:52 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Cash Advance - Credit Card - Cash ISA - Remortgages - Credit Cards