Question:
Good morning We're using Chillkat Email C++ libraries v.8.0.2 to send mail from our software. We're having some problems when we try to send e-mail with file .p7m attachments: the attachments seems to be not sent, and the e-mail arrive with a .txt empty file, or without any attachment. It's not a SMTP server error: we try both with our private server bot gmail.com (outside our LAN/network/proxy domain) and all the e-mail missed the .p7m attachment.
We're adding all attachment files with CkEmail.AddFileAttachment () method: email.AddFileAttachment (sFile, 0);
Do we need to set other file attachment properties to send .p7m files? Thank you very much for any help!
PS: I also got the contentType of the added file, and it seems ok (application/x-pkcs7-mime) But if I save the mail as mime, after the body I find the content of the p7m file without any reference to this contentType:
MIME-Version: 1.0 From: chiara.marzano@sistemi.com To: chiara.marzano@sistemi.com Content-Type: multipart/mixed; boundary=------------050606070104000204030801 Message-ID: 99A08FF7226602FDF7CA432D71966C35227972E5@cmarzano.sisteminet.it
Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
<html><head><meta http-equiv="3D"Content-Type"" content="3D"text/html;charset=" =3dutf-8"=""></head><body>
8.0.2 is a really old version of the library. Have you tried with the latest version (9.5.0)?
Good morning We downloaded the latest version (v9.5.0.39 • 08-May-2014 • MD5 Sum - C++ Libs for VC++ 10.0) and everything works fine: all the .p7m attachment are correctly transferred and received.
Now we'd need to upgrade to this version: what about the license key? Can we use our old key for mailmain.UnlockComponent? Thank you very much! Best regards
Your existing unlock code will work.
Thank you very much! Best regards!