views:

354

answers:

1

Is it possible to show an image of the mail sender in mail body with Outlook? I am thinking of developing this feature as an addin that will lookup the sender's mail address and get an image of the sender and put it into the mail body.

Is that possible with Outlook object model or C#?

A: 

Its possible with the Outlook Object Model.

Retrieving the sender address is trivial, look-up... depends on what you want to do.

With HTML mails it shouldn't be too hard to insert the picture, and you should be able to convert the other body formats into HTML.

Try it out with VBA and build a stand-alone AddIn (with VSTO or whatever) if the prototype works.

Update: In the redemption examples you can find the example 'Create an HTML message with an embedded image'. This effectively does what you are looking for - you just need to change it to work with an existing message and, if you don't want to depend on redemption, port it to VSTO/VBA/COM AddIn/whatever.

Georg Fritzsche