on 03-19-2013 9:25 AM
Hi All,
I have a requirement wherein there would be email sent with multiple attachments using the MAIL sender adapter. These attachments need to be individually placed at a File sever using SFTP receiver adapter.
As of now, i have been able to pick the attachments and place at the server.
However the name of the attachement is suffixed with _MailAttachment1, _MailAttachment2 etc..
Request you to suggest a method to retain the attachment names along with the extentions.
I am also trying to implement UDF using the OutputAttachment API, however it is not working.
http://help.sap.com/javadocs/NW73EHP1/SPS01/PI/com/sap/aii/mapping/api/OutputAttachments.html
Thanks,
Unfortunately there is no way to solve this in standard. You can only fetch the attachment names with a self-written adapter module.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
Thank you for your inputs.
I have managed to transfer the email attachments to the file server.
However, along with the attachment files, there is one more file that is getting generated for "Email body".
Is there any way to not generate this file so that only the email attachments are transfered??
If no, the content of this extra file is "xml structure" + "Email body" + encoded form of the attachments. is there a way to restrict this content only to email body.
I have checked the "keep attachment" option in the adapter. So attachment contents shouldnt be sent in the body of the mail.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.