Email Message EmailRecipient SmtpAddress issue RRS feed

  • Question

  • Hi,

    I am working on transport message and when I try to find the from address of embeded message I am getting below address of sender  instead of address like


    code is below which works correctly for normal email message

    FromSmtpAddress = Mesaage.From.SmtpAddress;

    Here FromSmtpAddress  is of string type and Mesaage is of type Microsoft.Exchange.Data.Transport.Email.EmailMessage. The same code doesn't work for email if that email is sent as an attachment to another email. Any other way to find the sender email address of attached email?                                             Regards,                                                                          Abhagwat 

    Monday, November 12, 2012 12:41 PM


All replies