Transport Agent Dev - Get the Body of MailItem as a String RRS feed

  • Question

  • Hi,

    I write my first Transport Agent now.
    Can Í get the Body as String by using this 

    String BodyAsString = mailItem.Message.Body.ToString();

    or do I have to use Stream?
    I do not want to change the Body just check for specific words!

    MfG Micha

    Monday, January 3, 2011 10:57 AM