Hi
I want to create an email message that has an image background embeded in the email message Itself
Not referenced to an image on the server. Any one can help please.
Hi
I want to create an email message that has an image background embeded in the email message Itself
Not referenced to an image on the server. Any one can help please.
for html, the background color is set in the corresponding tag. That is:
<body bgcolor="#fff">
text
</body>
the #fff can be changed out, obviously, to any color that html will recognize (i.e. 6 digit hex web colors)
//create the mail message MailMessage mail =new MailMessage();//set the addresses mail.From =new MailAddress("me@.mycompany.com"); mail.To.Add("you@.yourcompany.com");//set the content mail.Subject ="This is an email"; mail.Body ="<body bgcolor="#fff">text</body>"; mail.IsBodyHtml =true;//send the message SmtpClient smtp =new SmtpClient("127.0.0.1"); smtp.Send(mail);
<script runat="server">
void EmailAnchor_Click(Object sender, EventArgs e)
{
MailLink.HRef = "mailto:myemail@dotnet.itags.org.mindspring.com";
}
</script
<a id="MailLink" href="http://links.10026.com/?link=mailto:me@dotnet.itags.org.nospam.net"
OnServerClick="EmailAnchor_Click" runat="server"