Hi,

I want to send an encrypted mail that could be interpreted correctly by a mail server. I´ve created an HBufc* that contains an enveloped data PKCS7 structure with the appropiate SMIME headers (using OpenC) but the mail I receive doesn´t interpret the headers, they are part of the body.
I suposse that this problem is due to the fact that i use the function setBodytext(HBufc*) over an RSendasMessage object and that´s why the headers are set as if they where text. But i don´t know how to send the whole structure as an email....

could someone help me?