F
Fabio Negri Cicotti [MCP]
Hi all.
How do I do to display a picture on e-mail's body when visualized using
Outlook Express?
I've set the properties bellow but till now I've got the image shown as that
box with a red "x" (when an image hasn't been downloaded) and the image goes
attached instead of displayed on the e-mail's body.
MailMessage Email = new MailMessage();
Email.Attachments.Add(new MailAttachment(Request.PhysicalApplicationPath +
@"images\logo_email.jpg"));
Email.BodyFormat = MailFormat.Html;
Email.From = "(e-mail address removed)";
Email.To = "(e-mail address removed)";
Email.Subject = "Blablabla blabla";
Email.Body = "<img src='logo_email.jpg'>";
SmtpMail.SmtpServer = "127.0.0.1";
SmtpMail.Send(Email);
Regards,
How do I do to display a picture on e-mail's body when visualized using
Outlook Express?
I've set the properties bellow but till now I've got the image shown as that
box with a red "x" (when an image hasn't been downloaded) and the image goes
attached instead of displayed on the e-mail's body.
MailMessage Email = new MailMessage();
Email.Attachments.Add(new MailAttachment(Request.PhysicalApplicationPath +
@"images\logo_email.jpg"));
Email.BodyFormat = MailFormat.Html;
Email.From = "(e-mail address removed)";
Email.To = "(e-mail address removed)";
Email.Subject = "Blablabla blabla";
Email.Body = "<img src='logo_email.jpg'>";
SmtpMail.SmtpServer = "127.0.0.1";
SmtpMail.Send(Email);
Regards,