Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: What is my email address?

Geek News

What is my email address?
JahMic <jahmic[ at ]gmail.com> 5/17/2007 9:47:09 AM
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

Re: What is my email address?
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 5/17/2007 5:18:17 PM
What API and programming language are you using?

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

"JahMic" <jahmic[ at ]gmail.com> wrote in message
news:1179395229.107928.107450[ at ]n59g2000hsh.googlegroups.com...
[Quoted Text]
> 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
>


Re: What is my email address?
JahMic <jahmic[ at ]gmail.com> 5/18/2007 11:39:04 AM
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" <dmi...[ at ]dimastr.com> wrote:
[Quoted Text]
> What API and programming language are you using?
>
> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "JahMic" <jah...[ at ]gmail.com> wrote in message
>
> news:1179395229.107928.107450[ at ]n59g2000hsh.googlegroups.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 -


Re: What is my email address?
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 5/18/2007 5:36:35 PM
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" <jahmic[ at ]gmail.com> wrote in message
news:1179488344.327802.68220[ at ]u30g2000hsc.googlegroups.com...
[Quoted Text]
> 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" <dmi...[ at ]dimastr.com> wrote:
>> What API and programming language are you using?
>>
>> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "JahMic" <jah...[ at ]gmail.com> wrote in message
>>
>> news:1179395229.107928.107450[ at ]n59g2000hsh.googlegroups.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 -
>
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net