on 01-06-2012 2:58 PM
Hello All,
Here is my requirement. I receive and email from a third party. The emai Subject field has the name of the file that is the attachment. I need to pick up the email with PI and put the attachment to disk as a file where the name of the file is the "Subject" field of the email.
I have been able to write the attachment to disk as a file using the PayloadSwapBean. But how do I collect the name of the file from the "Subject" field so I can use it as the name of the file when I write?
Thank you for your assistance.
Rich
Use Dynamic Configuration. The Technical name for this Subject field in mail adapter is SHeaderSUBJECT. You can use it and assign it to FileName parameter of File adapter.
Regards,
Prateek Raj Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.