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

What is my email address?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 17th 07, 10:47 AM posted to microsoft.public.outlook.program_addins
JahMic
external usenet poster
 
Posts: 35
Default What is my email address?

Seems like a silly question really, but I am unable to find out,
programmatically, which one of the recipients is 'me'. Yes, using
PR_RECIP_ME, I can find out if I am one of the recipients, so how can
I found out which 'account name' this one received upon.

Thanks, J

Ads
  #2  
Old May 17th 07, 06:18 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default What is my email address?

What API and programming language are you using?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"JahMic" wrote in message
oups.com...
Seems like a silly question really, but I am unable to find out,
programmatically, which one of the recipients is 'me'. Yes, using
PR_RECIP_ME, I can find out if I am one of the recipients, so how can
I found out which 'account name' this one received upon.

Thanks, J



  #3  
Old May 18th 07, 12:39 PM posted to microsoft.public.outlook.program_addins
JahMic
external usenet poster
 
Posts: 35
Default What is my email address?

C++, OOM is preferred except when security constraints are involved,
otherwise dropping down to Mapi is fine. Because of the security
warnings, most recipient handling is thus far in Mapi.

Thanks, J

On May 18, 2:18 am, "Dmitry Streblechenko" wrote:
What API and programming language are you using?

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"JahMic" wrote in message

oups.com...



Seems like a silly question really, but I am unable to find out,
programmatically, which one of the recipients is 'me'. Yes, using
PR_RECIP_ME, I can find out if I am one of the recipients, so how can
I found out which 'account name' this one received upon.


Thanks, J- Hide quoted text -


- Show quoted text -



  #4  
Old May 18th 07, 06:36 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default What is my email address?

OOM: Application.Session.CurrentUser.Address
Extended MAPI: IMAPISession::QueryIdentity (returns the entry if of
IMailUser). Call IMAPISession::OpenEntry (get back IMailUser), then
IMailUser::GetProps (or HrgetOneProp) to retrieve PR_EMAIL_ADDRESS.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"JahMic" wrote in message
ups.com...
C++, OOM is preferred except when security constraints are involved,
otherwise dropping down to Mapi is fine. Because of the security
warnings, most recipient handling is thus far in Mapi.

Thanks, J

On May 18, 2:18 am, "Dmitry Streblechenko" wrote:
What API and programming language are you using?

Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"JahMic" wrote in message

oups.com...



Seems like a silly question really, but I am unable to find out,
programmatically, which one of the recipients is 'me'. Yes, using
PR_RECIP_ME, I can find out if I am one of the recipients, so how can
I found out which 'account name' this one received upon.


Thanks, J- Hide quoted text -


- Show quoted text -





 




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 12:50 AM
Merge all address books into the master email address book Denise Outlook - Using Contacts 1 April 11th 07 10:27 PM
Can I automatically save email address to address book from inbox 1stCaravanHire Outlook - Using Contacts 2 June 14th 06 03:18 PM
How do I make a new email address supercede an old email address? dhbirt Outlook - Using Contacts 3 May 13th 06 04:38 AM
Set which local email account can send mail to contacts in address book. (associating an email address with a contact) Scott Streit Outlook - General Queries 3 January 27th 06 02:57 PM


All times are GMT +1. The time now is 08:21 AM.


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.