cancel
Showing results for 
Search instead for 
Did you mean: 

Handling attachments of mail

Former Member
0 Kudos

Hi all,

How to extract attachment coming with mail and saving it in a folder.

No need of reading contents in it,it has to be saved as it in a folder with same filename.Attachment can be either txt file or excel.

Is there any option i can download attachments in a folder without reading content in it or i have to develop a module for it.

Plz anyone tell me how shall i approach and achieve it.

Thanks & Regards,

Sakthi

Accepted Solutions (0)

Answers (2)

Answers (2)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

have a look at my blog:

XI: Sender mail adapter - PayloadSwapBean - Step by step

/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Thanks for ur reply.

I have used PayloadSwapBean module to read the content of attachment and it works fine there.

But now my requirement is to extract attachment and saving it in a folder.

When i configure sender mail adapter with keep attachments.

In sxmb_moni attachments are available in payload.

So how to extract from there and download it in a folder.

Do i have to develop any module, if so how to do.

Thanks,

Sakthi

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>>When i configure sender mail adapter with keep attachments.

In sxmb_moni attachments are available in payload.

easily:)

as you noticed you have it in payload so just create receiver determination

to a folder = you need to create a standard flow and use FTP/file adapter

Regards,

michal

Former Member
0 Kudos

If i configure ftp, i couldnt able to download with same filename of attachment.

Then i couldnt handle excel and more than one attachment.

Am stucked now without knowing how to proceed.

Thanks,

Sakthi

Former Member
0 Kudos

sakthi,

you need to use payload swap bean in ur mail adapter module processor codeto get the attachemnt of mail to FTP.