on 07-11-2006 4:57 AM
Hi All,
Using a mail adapter is it possible to send a mail
with both custom content(body) and payload as attachment ??
In my scenario if i am rejecting an incoming XML
message. I must send back the XML message as
attachment also the content of the mail must be
the reason for rejection which is also a variable.
Can anyone help.
Thanks in advance.
Chemmanz
Hi Chemmanz,
it is possible...but if u r using a receiver mail adapter and ur incoming message doesn't contain attachment then by default the payload will go as an attachment. But if you want some part as content and some as attchment, then you need to write a module to create an attachment explicitly in module and append it to the message.
Regards,
Akshay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chemanz,
<i>Using a mail adapter is it possible to send a mail
with both custom content(body) and payload as attachment ??</i>
I think this should be possible. Check out modules Messagetransformbean and payloadswapbeans.
They have a feature where u can specify both the message body/attachment as inline/attachments.
cheers,
Prashanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chemmanz,
Comibing these two articles / blog maybe you can arrive at a solution,
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.