cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Module

Alfredo_Lagunar
Participant
0 Kudos

Hi Experts,

In my RFC-XI->mail scenario, I need to send a mail with an arbitrary name. I'm using mail package. My scenario is working, but the attached file I get in the email is "payload-;

XMLPayload xmlpayload = msg.getDocument();

xmlpayload.setName(mailFileName);

msg.setDocument(xmlpayload);

inputModuleData.setPrincipalData(msg);

...

return inputModuleData;

The result is the same I explained at the beginning. I followed Michal´s blog "XI: Dynamic name in the mail attachment - pseudo "variable substitution"", but I do not need an extra attachment(that is with the mane I want, but in mail package format)

Best regards,

Alfredo Lagunar.

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

Check this:

https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/adapterModulePI7.0SetAttachmentName

Answers (0)