none
How to get the sender email address using EWS? RRS feed

  • Question

  • I use ExchangeService.SyncFolderItems to get list of new emails. How do I get sender email address from ItemChange class?

    Thansk in advance!!!

    Wednesday, July 11, 2012 10:45 PM

Answers

  • I found the way to get item body just using ExchangeService APIs! Call ExchangeService.BindToItems.

    Now I have one problem remaining:

    1. The returned body is BodyType="HTML". How can I get body as text?

    Thanks in advance!

    • Marked as answer by s liu Thursday, July 12, 2012 7:27 PM
    Thursday, July 12, 2012 7:14 PM
  • Found solution: set PropertySet.RequestedBodyType = BodyType.Text;
    • Marked as answer by s liu Thursday, July 12, 2012 7:27 PM
    Thursday, July 12, 2012 7:27 PM

All replies