on 04-17-2012 5:09 PM
Hi all, I am working on a email (with 1 attachment) to file escenario.
I have read michaels blog
in order to configure my system for getting the attachments.
Now the attachments are comming to my system. But I have a doubt, because my attachment is in txt format and I just want to save it. I have read in other blogs but the process is not clear for me.
In the payload I have a MailMessage and MailAttachment-1. I can do a mapping from MailMessage to my interface, but i have no idea about how to map MailAttachment-1 into my interface. Is that possible? How can I handle that informatio in order to save the attachment into a file system?
Thanks.
Hi Antonio, did you get this working as you had hoped?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes I has been working as I expected.
1.- I have used mail sender Adapter: Use Mail Package & Keep Attachment checked
2.- I have created a message mapping + UDF to get the name of the attachment and data of the attachment (Mail to a Custom Message). This data I have mapped on a field (on n fields if many attachment) of my target message.
Kind Regards.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.