Skip to Content

MAIL to SFTP with multiple attachment

Dec 15, 2016 at 02:01 PM


avatar image

i am doing a mail to sftp scenario with multiple attachment.Since we just need to read the attachment and mail body and place as it is with dynamic name i am doing passthrough scenario without ESR.

I am using payload swap bean in mail sender mail adapter. and at recevier sftp apter i am checking the store attachment option to get both attachment and mail body.

when we get multiple attachment in email then at sftp i could files

<frommailid><subject><source filename>.<extension>_MailAttachment_2

<frommailid><subject><source filename>.<extension>_MailAttachment_3 and so on.

is there any option by which i can retain the original attachment name.

Please advice.

mailadapter1.png (22.4 kB)
mailadapter2.png (6.5 kB)
mailadapter3.png (14.0 kB)
sftp1.png (16.0 kB)
sftp2.png (3.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

vijaya singothu Dec 16, 2016 at 10:19 AM

Can anyone reply on this question. As i need to work in solution ASAP.

10 |10000 characters needed characters left characters exceeded