on 05-05-2009 3:53 PM
Hi All,
I have a proxy to mail scenario. I am using mail message format from service market place.
Now this is the xml after executing mapping:
<Mail>
<Subject>XYZ</Subject>
<From>From_email</From>
<To>To_email</To>
<Reply_To />
<Content_Type>text;charset="UTF-8";name="MYFILENAME.csv"</Content_Type>
<Content>
<Line>
<Object>0000001</Object>
<Code>1001</Code>
</Line>
<Line>
<Object>0000002</Object>
<Code>1002</Code>
</Line>
</Content>
</Mail>
<Line> tag gets repeated in the <content> tag. I want a csv file as mail attachment with the following content:
0000001,1001
0000002,1002
First i used StrictXml2PlainBean. But, this was trying to parse all the fields including Subject and To fields.
I only need data in <content> tag to be sent in csv file.
So, i used MessagetransformBean. Even this is throwing parserExceptionerror: No data allowed here: (hex) 30, 30, 30(:main:, row:6, col:3)(:main:, row=6, col=3).
Which module bean should i use now? What should be the parameters?
Please let m know.
Many Thanks
Chandra
This is not possible.
But you can send a mail without mail package. The content type can be set by MessagetransformBean, sender, receiver and subject can be set with ASMA.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The standard modules doesn't seem to suit your requirement. A custom module can definitely help.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandra,
Is it possible to use a UDF inside a message mapping (resp. XSLT/Java-Mapping) to re-format the value of the Content tag?
Best regards,
Dennis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
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.