on 12-28-2010 11:56 AM
Hi ,
I configued mail adapter and I am receiving the message as xml attachments.But I need to get message in body as text formate not an xml message.
for exaple I am getting the message like this as attachment
<?xml version="1.0" encoding="UTF-8" ?>
<ns0:MT_MAIL xmlns:ns0="http://it.com/FI/I001">
-<MAIL>
<A>
<FILE>PLEASE KEEP THE FILE</FILE>
</A>
<B>
<FILE>PLEASE KEEP FILE</FILE>
</B>
</MAIL>
</ns0:MT_MAIL>
I required message in MAIL BODY ( NO attachment) like below
A PLEASE KEEP THE FILE
B PLEASE KEEP THE FILE
LIKE THAT I NEED MY OUTPUT IN MAIL BODY ...
PLEASE GUID HOW TO PROCEED ....
Use PayloadSwap bean and read the attachment...on the receiver end make use of Mail package and in the mapping concat the contents of FILE field....you may need to use a UDF for this....then stuff this into the Content field of the Mail package...in receiver channel use XIPAYLOAD....
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.