on 02-05-2010 12:01 PM
Hi there,
I stamped over an issue that look like an adapter limitation, would like to hear you opinions.
We´re using a POP3 account configured in a Sender Mail Communication Channel with XIPAYLOAD, with this attempts:
- with or without the Mail Package;
- any type of encoding;
- must keep attachments.
In all of this options always the retrieved email from the POP Server comes in TEXT format.
Does the Mail Adapter support HTML emails?
Does the Mail Adapter support mixed/alternative Content-Type?
>Current version: SAP PI 7.0 SP14
>Mail Server: Lotus Domino 7.0.x
Regards,
Marlo Simon.
We´re using a POP3 account configured in a Sender Mail Communication Channel with XIPAYLOAD, with this attempts:
- with or without the Mail Package;
- any type of encoding;
- must keep attachments.
In all of this options always the retrieved email from the POP Server comes in TEXT format.
That means that you first message body is really text format.
Maybe you have a multipart document, the first part is plain text, the second part is HTML.
Microsoft Outlook produces such kind of mails.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Stefan
I wrote an Adapter Module to read multiple attachments so I could really get all information.
Testing with plain, multipart/mixed or multipart/alternative yields same results.
The bad news is that nothing as comes through as text/html.
Any clues?
Maybe the Lotus Notes server?
Rgds,
Marlo Simon
Not SAP PI´s fault, mail server was charged guilty.
Seya.
Marlo Simon.
Edited by: Marlo Simon on Feb 5, 2010 5:10 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Marlo,
I am also currently developping a java module in order to handle multiple attachments in the sender mail adapter.
But it seems i have some problems.
Can you tell me if you use the payloadswapbean before your own module or not ?
Did you put your own module in the first position before the standard one in the module tab of the CC ?
Can you explain a little more how you did it please.
Thanks,
Jean-Philippe
Ok,
I´m using the Sender Mail Scenario.
I tried the MessageTransformBean (Transform.ContentType) to force the Content-type to text/html and it made no difference.
Is there any Advanced parameter that would help? No docummentation from SAP on those ones.
I want to keep the original email body, but looks like the adapter only read plain text.
Rgds,
Marlo Simon.
Edited by: Marlo Simon on Feb 5, 2010 2:23 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter if it is helpful.
Regards,
Sunil Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please set the parameter Content type to "text/html".
Thanks,
Kiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.