Skip to Content

Sending file to multiple folder in Mail to File scenario

Hello All,

I have a Mail to file scenario, where i have two issues :

1) To add datestamp in "yyyymmdd" format , after i read the attachment of the mail.

2) To send the file in two folders, first time in original folder and second time in the archive folder.

i can use module " payloadswapbean" to read the attachment , but then if i am using unix then how do i only add date in YYYYMMDD format.

And since the receiver is FTP of application server , so cane use the functionality that is available with NFS or also cant use two RD 😔

Please suggest .

Regards,

Ravi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jan 08, 2013 at 04:58 PM

    Hi,

    >>>i can use module " payloadswapbean" to read the attachment , but then if i am using unix then how do i only add date in YYYYMMDD format.

    in the name of the file ? (just add/set it in the dynamic configuration) in your mapping you can set any name and it's not OS specific functionality,

    >>>>And since the receiver is FTP of application server , so cane use the functionality that is available with NFS or also cant use two RD 😔

    you can always put the file in a temp folder and fetch it from there and send to two receivers - if for any reason you cannot do that in the mail-ftp scenario

    Regards,

    Michal Krawczyk

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.