Sometimes we try to get the hardest way, don't we? The answer comes up
naturaly after think how it works... if we are talking about HTML e-mail
format, why don't put whole URL into IMG tag?
I put
Email.Body = "<img src='http:\\www.somesite.com\images\logo_email.jpg '>";
and it worked out!
Thanks all anyway.
--
Fabio Negri Cicotti
"Fabio Negri Cicotti [MCP]" <ci*****@hotmail.com> wrote in message
news:e5**************@TK2MSFTNGP10.phx.gbl...
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 = "x@x.com";
Email.To = "y@y.com";
Email.Subject = "Blablabla blabla";
Email.Body = "<img src='logo_email.jpg'>";
SmtpMail.SmtpServer = "127.0.0.1";
SmtpMail.Send(Email);
Regards,
--
Fabio Negri Cicotti