smtpmail.p

marcia

New Member
Hi

I need some help with smtpmail.p. I would like to send a pdf file, so I need to know what parameters to send for "attachments". This is the parameter I currently have:

"Statement:type=application/pdf:charset=iso-8859-1:filetype=PDF"

but only a blank pdf file is emailed.

Any help would be appreciated.

regards,
Marcia
 

BONO

Member
Hello,
you can send pdf file with texte file syntax, it's work.


local file : path and file name
Attachement : <nom fichier>:type=application/notepad:filetype=binary
mime : multipart/related
 

marcia

New Member
thank you very much Bono! By changing the file type to binary the problem has been solved. (I also had to download b64encode.p which I didn't have yet because it had never been used yet).
 
Top