Skip to Content
0
Jun 19, 2018 at 09:30 AM

How to handle dynamic attachment name in sender mail adapter

171 Views

Hello Experts,

I have a scenario , where I need to read the content of attachment from a mail.

For this I am using sender mail adapter and payloadSwapBean, since the mail would contain only one attachment.

But problem is that the mail might have attachment that would also have order number with it, means each attachment name is different in each mail, but the structure is same inside.

How to handle such dynamic attachment name using sender mail adapter.

Thanks in advance.