I have created a z program to send email with a single pdf attachment.
I am using the FM: SO_NEW_DOCUMENT_ATT_SEND_API1 to send the email.
I am using the FM:GUI_UPLOAD to specify the PDF file.
Now I want to attach more than one RDF files to the email.
I have managed to create and send the email with two attachments but all attachments are corrupted.
When I open the email and trying to open the attachments I get an error:
The file is damaged and cannot be repaired.
Can someone help me?