login about faq

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

This is a multi-part message in MIME format.

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>

 
</body></html> --------------050606070104000204030801 -p: FatturaElettronica xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:p="http://www.fatturapa.gov.it/sdi/fatturapa/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versione="1.0"> <fatturaelettronicaheader>

asked May 16 '14 at 03:39

Sistemi's gravatar image

Sistemi
112

edited May 16 '14 at 04:49


8.0.2 is a really old version of the library. Have you tried with the latest version (9.5.0)?

link

answered May 16 '14 at 10:37

jpbro's gravatar image

jpbro ♦
1.1k2618

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

link

answered May 20 '14 at 08:32

Sistemi's gravatar image

Sistemi
112

Your existing unlock code will work.

link

answered May 20 '14 at 08:39

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Thank you very much! Best regards!

link

answered May 20 '14 at 08:57

Sistemi's gravatar image

Sistemi
112

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1

Asked: May 16 '14 at 03:39

Seen: 886 times

Last updated: May 20 '14 at 08:57

Related questions

powered by OSQA