To send an aspx to email i use this code below:
Dim objMM As New MailMessage
Dim client As New System.Net.WebClient
Dim buffer() As Byte =
client.DownloadData("http://www.mysite.nl/mypage.aspx")
Dim str As String = System.Text.Encoding.ASCII.GetString(buffer)
objMM.BodyFormat = Web.Mail.MailFormat.Html
objMM.UrlContentBase = "http://www.mysite.nl"
objMM.From = "ne**@mysite.nl"
objMM.Subject = "MySite.nl news-update"
objMM.Body = str
objMM.BodyFormat = Web.Mail.MailFormat.Html
Dim x As Short
SmtpMail.SmtpServer = "my,smtpserver"
objMM.To = "someemailaddress"
SmtpMail.Send(objMM)
When i send this to a hotmail-account and open the email with msn the
layout of the email is a bit strange and not showing all the pic's.
When i get the same email with outlook/incredimail (pop3) it shows the right
layout.
Question: how to take care of msn. Perhaps when accessing the email with
webmail it will also be messed up ??
Richard Loupatty