Outlook 2010 not displaying html image RRS feed

  • Question

  • Hi,

    I am sending mails via C# windows service (using SMTPClient) code. 

    The body of the email is sent as HTML and it contains an image too. The image is a base64 encoded image.
    The html generated can be viewed properly on IE 7.0/8.0/Compatibility mode but outlook displays only the body text. The image is replaced by red X and says that the linked image cannot be displayed.The file may have been moved, renamed or have been deleted. Verify that the link points to the correct file and location.

    If I give the physical/relative path of the image via the code, the mail goes to the junk folder. Please suggest any workaround.

    Thanks in advance,

    • Edited by Max Meng Wednesday, September 5, 2012 5:53 AM Typo
    • Moved by Max Meng Wednesday, September 5, 2012 5:56 AM Off-Topic (From:Office 2010 Setup and Deployment)
    Tuesday, September 4, 2012 4:13 PM

All replies

  • Hi Richa,

    Welcome to the Microsoft Office Setup and Deployment forum. However, this IT Professional forum is for questions, feedback, or anything else related to setting up and deploying Microsoft Office. For your question, I'd suggest to visit the forum for ASP.NET for more decent help:

    Max Meng

    TechNet Community Support

    Wednesday, September 5, 2012 5:55 AM