Using MAPI to send PDF Attachments From Delphi
Posted on 2004-10-17
I am using MAPI to send emails from my Delphi App. The Email is constructed and then the Report, which is a PDF file, is attached. This works perfectly from Delphi and up until now I thought was working correctly.
My Problem is that the workstations are using Outlook to send the email. Outlook to Outlook there is no problem but if our customers are using Outlook Express to receive the email the Attachment is stripped. I have tested this to a Web-mail based email and the file is replaced with a winmail.dat file. I have checked and the Outlook is set to send in Plain Text (Not rich text)
Upon viewing the Message source I have noticed this
Is there a way that I can force the mime encoding of this attachment prior to sending.? Or somehow stop this annoying M$ quirk from happening ??