<<Back To Faq 4.4.6


Complete FAQ Listing


4.4.6 Attachments added to the MailMessge are corrupt. Printer Friendly   Email This FAQ   Discuss

You may want to try changing the attachment encoding. For example, create your attachments like:
MailAttachment attachment = new MailAttachment( "test.txt", MailEncoding.Base64)
or
MailAttachment attachment = new MailAttachment( "test.txt", MailEncoding.UUEncode)
Also, if you are using this on Windows 2000, there may be a bug in your IIS SMTP Service. Check out
Periods at the Beginning of a Line Are Removed When Placed into the SMTP Pickup Directory
http://support.microsoft.com/?id=286358
 



The formatted version of this faq can be found at http://www.SystemWebMail.com/faq/4.4.6.aspx