cancel
Showing results for 
Search instead for 
Did you mean: 

Mail adapter : Problem with content disposition

Former Member
0 Kudos

Hello,

I try to configure this scenario R3 -> XI -> Email (MS exchange Server). I want to put the payload in body of the email and others files in attachment. I configured the parameter “content-Disposition” in a communication channel with “Inline”.

The result (my problem) is that payload is displayed in a body of email but also in the attachment.

Communication channel :

Transform.ContentDisposition = Inline

Transform.ContentType = text/plain;charset="iso-8859-1"

I found a note about this subject http://support.microsoft.com/kb/323482/

I already read these sap notes

Note 856599 - FAQ:XI 3.0 Mail Adapter

Note 810594 - SMTP: E-mail contents are displayed as attachment II

810594 is very similar but it’s for Abap system and not for Mail Adapter J2EE System.

Regards,

Nicolas.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Nicolas,

You can try this,

Dont give content Type and make sure that u have used XIPayload and not XIALL as protocol..

Regards,

Sudharshan

Shabarish_Nair
Active Contributor
0 Kudos

/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure -

this blog illustrates a combination of

Message Protocol = “XIALL”

Message Protocol = “XIPAYLOAD” with “Mail Package”

Message Protocol = “XIPAYLOAD without “Mail Package”

Do have a quick look into the same !!!

Also look into this blog by mike where he put the message to the content and not the attachment.

/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

Former Member
0 Kudos

It don't work, the payload is only in attachment.

Configuration of my CC :

Transfer protocol : SMTP

Message protocol XIPAYLOAD

Module : localejbs/AF_Modules/MessageTransformBean

Also I use the dynamic configuration and the option "keep attachment".

Others ideas ?

Thanks,

Nicolas.

Former Member
0 Kudos

Nicolas,

Are u using Mail Package Option and what is ur payload?

Regards,

Sudharshan

Former Member
0 Kudos

I don't use Mail Package and my payload is a text like "hello world".

Also I create an attachment with another module just before calling MessageTransformBean.

Processing Sequence :

1 My module (Create an xml attachment)

2 MessageTranformBean

3 XIMailAdapterBean

Former Member
0 Kudos

Nicolas,

If u dont use Message Transform Bean..

What is the result?

Regards,

Sudharshan

Former Member
0 Kudos

The payload is put in attachment called "untitled.xml" and the body of email is empty.

Former Member
0 Kudos

Nicolas,

Best Option is to use Mail Package .

U can download the XSD frm Market Place and u can give both body of the message and attachments comfortably..

Body of the message can be assigned by <Content> tag and attachment can be adder by ur module.

Refer

<a href="/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address:///people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

Regards,

Sudharshan

Former Member
0 Kudos

Ok, thanks.

but I don't want to use mail package

former_member206604
Active Contributor
0 Kudos

Hi,

You can refer this blog if it would be some help for you

/people/community.user/blog/2006/09/08/email-report-as-attachment-excelword

Check out this link http://www.utoronto.ca/ian/books/html4ed/appb/mimetype.html for different content types that you can use in the mail.

Also check these

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c...

Regards,

Prakash