Welcome to Lockergnome.com!
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

SMTP address of Exchange recipient

 
   Home -> Office -> Programming VBA RSS
Next:  Programming VBA: Send mail to addresses from excel with parameters  
Author Message
Bill

External


Since: Mar 20, 2006
Posts: 16



(Msg. 1) Posted: Wed Aug 08, 2007 9:59 am
Post subject: SMTP address of Exchange recipient
Archived from groups: microsoft>public>outlook>program_vba (more info?)

I have Googled this forum and found near-matches to this request, so I
apologize if it's been answered to death. I have multiple email addresses
in my Exchange account here. If I receive an email from outside our domain,
is it possible for me to know if it was sent it to bill.RemoveThis@company.com or
william.RemoveThis@company.com, or billy.RemoveThis@company.com ?

Thanks,

Bill Le May
Outlook 2003
Back to top
Login to vote
Dmitry Streblechenko

External


Since: Nov 23, 2003
Posts: 1365



(Msg. 2) Posted: Wed Aug 08, 2007 10:00 am
Post subject: Re: SMTP address of Exchange recipient [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I can only think of fparsing the PR_TRANPORT_MESSAGE_HEADERS property (you
can see its value in the UI when you RMB on a message and click Options).

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

"Bill" <bithound.TakeThisOut@onayamspayyahoo.com> wrote in message
news:%23WwcLzc2HHA.1188@TK2MSFTNGP04.phx.gbl...
>I have Googled this forum and found near-matches to this request, so I
>apologize if it's been answered to death. I have multiple email addresses
>in my Exchange account here. If I receive an email from outside our domain,
>is it possible for me to know if it was sent it to bill.TakeThisOut@company.com or
>william@company.com, or billy.TakeThisOut@company.com ?
>
> Thanks,
>
> Bill Le May
> Outlook 2003
>
Back to top
Login to vote
Bill

External


Since: Mar 20, 2006
Posts: 16



(Msg. 3) Posted: Wed Aug 08, 2007 12:38 pm
Post subject: Re: SMTP address of Exchange recipient [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Dmitry Streblechenko" <dmitry.RemoveThis@dimastr.com> wrote...

>I can only think of fparsing the PR_TRANPORT_MESSAGE_HEADERS property (you
>can see its value in the UI when you RMB on a message and click Options).

Thank you Dmitry. I would like to use that property to create a View or
Filter that will show me emails addressed to one specific email address.
Is it possible to specify this property as a search criteria in a DASL View
Filter?
Back to top
Login to vote
Dmitry Streblechenko

External


Since: Nov 23, 2003
Posts: 1365



(Msg. 4) Posted: Wed Aug 08, 2007 12:38 pm
Post subject: Re: SMTP address of Exchange recipient [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

No, the address is not stored as a separate property.
You should however be able to create a rule that checks for a particular
substring ("bill@company.com") in the transport mesage headers and sets a
property that you can use in a view or in a filter.
I have a bunch of rules that move messages to separate folders based on an
address in the transport header.

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

"Bill" <bithound.DeleteThis@onayamspayyahoo.com> wrote in message
news:OTXioLe2HHA.5380@TK2MSFTNGP04.phx.gbl...
> "Dmitry Streblechenko" <dmitry.DeleteThis@dimastr.com> wrote...
>
>>I can only think of fparsing the PR_TRANPORT_MESSAGE_HEADERS property (you
>>can see its value in the UI when you RMB on a message and click Options).
>
> Thank you Dmitry. I would like to use that property to create a View or
> Filter that will show me emails addressed to one specific email address.
> Is it possible to specify this property as a search criteria in a DASL
> View Filter?
>
Back to top
Login to vote
Bill

External


Since: Mar 20, 2006
Posts: 16



(Msg. 5) Posted: Wed Aug 08, 2007 1:25 pm
Post subject: Re: SMTP address of Exchange recipient [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Dmitry Streblechenko" <dmitry RemoveThis @dimastr.com> wrote in message
news:eoYoLRe2HHA.3900@TK2MSFTNGP02.phx.gbl...
> No, the address is not stored as a separate property.
> You should however be able to create a rule that checks for a particular
> substring ("bill@company.com") in the transport mesage headers and sets a
> property that you can use in a view or in a filter.
> I have a bunch of rules that move messages to separate folders based on an
> address in the transport header.

I thought that since the SQL tab in Filters can specify criteria like this:
(
("http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/811c000b"= 0)that I could do something similar to find the To field.
Back to top
Login to vote
Bill

External


Since: Mar 20, 2006
Posts: 16



(Msg. 6) Posted: Wed Aug 08, 2007 1:44 pm
Post subject: Re: SMTP address of Exchange recipient [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

OK, here's what I put in the SQL tab:

"http://schemas.microsoft.com/mapi/proptag/0x007D001E" LIKE '%bill.lemay%'

This appears to work.

Thanks,

Bill Le May
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Programming VBA All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 General
 Microsoft Windows XP
 Microsoft Windows Vista
 Microsoft Windows (other)
  Microsoft Office
 Microsoft Office (other)
 Computer Security
 Linux
 Movies


[ Contact us | Terms of Service/Privacy Policy ]