Skip to Content
avatar image
Former Member

MAIL to SFTP with multiple attachment

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 16, 2016 at 10:19 AM

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

    Add comment
    10|10000 characters needed characters exceeded