Link to home
Start Free TrialLog in
Avatar of recruitit
recruitit

asked on

Use HTML to format a System.Net.Mail email

Hello everyone,

I want to insert a banner link into a System.Net.Mail email message.

The image is located on a webserver so what I wanted to do was use the tag...

<img border="0" src="www.somewebsite.com/somebannerimg.png">

But when the mail gets sent via the .Net framework, the image isnt in the message, only the link

(And yes I set the body = html, although the body only contains the link above and the rest is text without any other html formatting)

We have constructed a program that periodically posts mail to users, but we want to make the messages look alot nicer than just straight plain text.
SOLUTION
Avatar of hankknight
hankknight
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial