Dim myMail As New MailMessage()
myMail.From = "fr**@microsoft.com"
myMail.To = "to@microsoft.com"
myMail.Subject = "UtilMailMessage001"
myMail.Priority = MailPriority.Low
myMail.BodyFormat = MailFormat.Html
myMail.Body = "<html><body>UtilMailMessage001 - success</body></html>"
Dim myAttachment As New MailAttachment("c:\attach\attach1.txt",
MailEncoding.Base64)
myMail.Attachments.Add(myAttachment)
SmtpMail.SmtpServer = "MyMailServer"
SmtpMail.Send(myMail)
"Lucas Tam" wrote:
Is there a way to change System.Web.Mail's Content Transfer Encoding? It's
currently using Quoted Printable... However, a piece of software on the
receiving end does not support Quoted Printable.
Is there a way to switch the encoding type?
Thanks!
--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/