|
-
Aug 25th, 2006, 12:36 PM
#1
Thread Starter
Fanatic Member
sending email from .NET
I have an ASP.NET 1.1 (VB.net 2003) application that reads in an HTML file and emails it to a user. I am getting some quirky formatting problems. I'm using a web version of MS Exchange to receive the file.
Before I go into specifics, is there anything obvious I need to know about emailing a file in HTML format? Here's some code:
mymail.To = mailto
mymail.From = "[email protected]"
mymail.Priority = MailPriority.Normal
mymail.BodyFormat = MailFormat.Html
mymail.Subject = "Subject of message"
mymail.Body = message
SmtpMail.SmtpServer = "xxx.xxx.xxx.xxx"
SmtpMail.Send(mymail)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|