A user of my software reported the following new behavior after upgrading to a newer version (using a more recent ActiveX Chilkat component: 188.8.131.52). If the email message body is left blank, the email server (Office 365) which is set to add a text footer ("This electronic message transmission...") delivers a message with just the text footer and, below that, the original message (with a pdf attachment) shows up as a forwarded message. Is this a recently introduced bug?
Thanks. I think the question is really: What MIME did Chilkat produce, and how is it different than what was produced before? I wouldn't really consider it a bug because you have two systems handling data with not-well-known semantics.
Regarding an email containing an attachment with no body that has ever been sent: The question is: what MIME should be produced? There are two choices:
1) Produce a multipart/mixed email, having a text/plain body that is empty, with an attachment.
2) Produce a non-multipart email where the body contains the "attachment" data and the Content-Type reflects the attachment (i.e. such as "application/pdf").
Chilkat does #2. This is because there have been many complaints in the past about emails contain empty bodies. In this situation, people overwhelmingly desired choice #2 -- especially when it comes to things like EDI.
So.. I wouldn't call it a bug, but just the fact that one needs to know the semantics in oddball situations, and then also know the semantics of an email server that might be mucking with the email as it's being sent out..
Thanks; just so we can understand more fully: did Chilkat recently change the handling of this scenario from option 1 to option 2? This would explain the behavior change we are witnessing.