Click here to Skip to main content
15,920,217 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am not able to set Image in table background, when sending the Email Format.

Please help..

Thank You
Posted

for showing image in background, you have to give a specific url of image which can be open using internet. It should be uploaded on internet and give path of there.

There are different settings for different email accounts for showing the image. set background of table tag by giving url of image. Please check again.
 
Share this answer
 
XML
Craete your message content as HTML with background image.. The image should be available some where in the web.. for example you can create a message like following

string body = "<html><body style=\"background-image:url(http://www.yoursite.com/bg.gif);\">This is my message</body></html>";

and just set it as the smtp mail body..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900