aspNetEmail

EmailMessage.MSPickupDotStuff Property

This poperty compensates for a bug in the IIS SMTP Server where it removes any periods "." (dots) from the begining of a line.

public bool MSPickupDotStuff {get; set;}

Remarks

The SMTP Server is supposed to "Dot Stuff" the lines, instead the IIS SMTP service removes the dots. If MSPickupDotStuff is set to true, it will compensate for this bug.

To patch the SMTP service, see http://support.microsoft.com/?id=286358

Example

[C#]
            EmailMessage msg = new EmailMessage( );
            msg.Subject = "Order Confirmation";
            msg.To = "you@yourcompany.com";
            msg.From = "me@myCompany.com";
            
            //logging for easier troubleshooting
            msg.Logging = true;
            msg.LogPath = "c:\\email.log";
            
            //set the plain text body
            msg.Body  = "the email body contents go here...";
            
            msg.MSPickupDotStuff = true;
            
            msg.SendToMSPickup();
            
            
[VB.NET]
            Dim msg As New EmailMessage()
            msg.Subject = "Order Confirmation"
            msg.To = "you@yourcompany.com"
            msg.From = "me@myCompany.com"
            
            'logging for easier troubleshooting
            msg.Logging = True
            msg.LogPath = "c:\email.log"
            
            'set the plain text body
            msg.Body = "the email body contents go here..."
            
            msg.MSPickupDotStuff = True
            
            msg.SendToMSPickup()
            

See Also

EmailMessage Class | aspNetEmail Namespace