on 03-29-2006 5:36 PM
I know you can use a mailpackage for defining parameters of an email (like subject, to, from, etc...). It is also possible to email a attachment with the MessageTransformBean in the modules tab of the communication channel (content conversion). Now I want to combine those two features. So I would like to create a variable subject (for example with ordernumber in it, a field out of the original file) and the original file needs to be mapped to a flatfile attachment.
I think I cannot use the mailpackage, because the content of the destination message is being lost then. Does anybody have any idea? In fact I need two mappings on the same interface (1 to construct the email and 2 to map the message).
Hi,
Did you try using Java Module to overirde the subject of the mail dynamically using Mail Adapter .
Just one option here-
Develop Java Proxy on the Receiver side and inside the proxy write Java Mail API s for sending attachment and variable subject.
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.