on 11-27-2007 8:33 AM
Hello,
I have a simple IDoc to Mail scenario. The payload is send as mail attachment.
The IDoc is mapped to a structure representing the attachment-file format.
The <b>mail adapter</b> is set up as follows:
Transport-Protocol: SMPT
Message-Protocol: XIALL
<i>Use Adapter-Specific Message Attributes</i> and <i>Variable Transport Binding</i> are checked.
I also use Modul <i>StrictXml2PlainBean</i> to convert the Payload into FlatFile-Format.
And I use the Modul <i>MessageTransformBean</i> to set up the Payload as attachment and to set up the name of the attachment. I use these parameters:
Transform.ContentDisposition = attachment;filename=test.txt
Transform.ContentType = text/plain
The result is an Email with two files as attachment.
The first file contains the payload in FlatFile-Format as expected, but there is also a second file (XML-Format) with information about the message.
Now:
1. How can I get rid of the XML-File? I dont need it and it doesn't help the receiver of the Email, its just confusing.
2. How can I set up a dynamic name for the attachment from the paylaod ?
Thanks for your help.
Elko
HI,
Go through the below weblog:
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
You can acheive it using the message protocole tab in adapter.
Thnx
Chirag
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 | |
10 | |
10 | |
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.