Re: Determining the account of an email



The receiving email address is not exposed in the Outlook object model, it's available in lower level API's such as CDO 1.21 or Extended MAPI or Redemption as PR_RCVD_REPRESENTING_EMAIL_ADDRESS at property tag 0x0078001E. If Exchange is the receiving account the result would be an Exchange DN, not an SMTP address though.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Sean Farrar (Intechrity)" <Sean Farrar (Intechrity)@discussions.microsoft.com> wrote in message news:7A5ED935-3942-436A-AB46-8981F6F035E3@xxxxxxxxxxxxxxxx
I want determine the account an email was received so I can move it to a
folder for that account. (Yes I know that rules will do this for me but my
rules will not work unless I am connected to the exchange server, even though
they are client side rules).

Is there a way to determine the account in code?

.



Relevant Pages

  • Re: problems receiving email
    ... Changing the MX record point to your public IP will bypass the Exchange ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... | Thread-Topic: problems receiving email ...
    (microsoft.public.windows.server.sbs)
  • Re: multiple users using single email address
    ... I know I can do this for receiving email to those users, ... Mark ... > You can sent up a Distribution Group, make those user's that need the ... >> I am new to Exchange, so forgive the possible silly question, but I ...
    (microsoft.public.exchange.admin)
  • Re: SMTP Address through MAPI
    ... That property isn't available from the Outlook object model. ... Delphi only) or Redemption to find the correct SMTP address. ... You would iterate the Variant array that is returned by that property and look for one that begins with "SMTP:", that indicates the default SMTP address for that Exchange distinguished name. ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: exchange not receiving messages from one client
    ... They are receiving messages from us but we are not receiving email ... Listed below is the message they are getting from their Exchange ... Can they try telneting to that server (if using a ... Andrew Hodgson in Bromyard, Herefordshire, UK. ...
    (microsoft.public.windows.server.sbs)
  • Re: Email authentication hardware / software
    ... External appliance, so little or no modification required of Exchange and you ... authentication hardware / software similar to Wiresoft's Sentry ... products that use a challenge/response system for receiving email ...
    (microsoft.public.windows.server.sbs)