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.