cancel
Showing results for 
Search instead for 
Did you mean: 

MAIL to SFTP with multiple attachment

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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