Add a new post


Name  
Email*  
Subject  
Message
 
 
Protected by Clearscreen.SharpHIPTo prevent abuse from bots, please enter the text you see.:
 

* In order to reduce SPAM, all email addresses will be obfuscated so they cannot be read by spam bots.
For example: 'test@test.com' will become 'test (at) test dot com'.

Attachments added to the MailMessge are corrupt.
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