i am using c# to send mail. in my mail i used three images one for background, one for headerimage and last for footer image.. but the problem is i am not getting the background image when i recieve the mail.. my code for the image is:
imgAtt.ContentId = "Winter.jpg";
ingatt1.ContentId = "images5.jpg";
MailMessage mail = new MailMessage();
mail.To.Add(to);
mail.From = new MailAddress(from);
mail.Subject = "In line image test";
mail.Body = "<html><body>" +
"<div style="width:300px; height:300px;border:4px solid; background-image: cid:"+ingatt.ContentId+""> " +
"<center>" +
"<img style="width:100px; height:100px;" src= cid:" + imgAtt.ContentId + " /> " +
"</center>" +
"</div> " +
"</body>" +
"</html>";
mail.IsBodyHtml = true;
请有人帮帮我。。