Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component

Index of Chilkat Blog Posts

November 13, 2007

Verify the Exact MIME Passed to an SMTP Server

I have a problem when sending multipart (HTML & Plain Text) messages. Sometimes the message arrives as text-only. Then I resend and it is HTML. Same code. Sometimes it works.

The MailMan object has a property named LogMailSentFilename. It is a string property that defaults to the empty string.

If you set it to the name of a log file you want it to create, the MailMan will write the exact MIME sent to the SMTP server during the send. You may then check it to see exactly what was sent. If both HTML and text are present, but the email arrives with something removed, then you know that the removal happened after it was passed to the SMTP server. It could have been modified at any point along the delivery route, or by the receiving email client.

Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.