cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to get Mail in proper format

Former Member
0 Kudos

Hello,

I was trying to send the mail with dynamic body content and with mail attachment by following the below blog

/people/samuel.chandrasekaran2/blog/2008/10/06/xi-mail-adapter-dynamically-building-attachment-and-message-body-content-using-a-simple-udf

But the problem i am facing is receving mail with multipart data also ,I am not able to see attachment and body separately instead everything designed in the UDF is comng as a part of mail.

When i set contentencoding to None i am getting error in mail adapter( i am not able to receive mail)

Appreciate your replies

Rajesh

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

Make sure that the boundary in the content type and in the content are the same (except for the too extra "--" in the content).

Regards

Stefan

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Guys,

I am not able to see the mail in proper format ,Did i miss any settings in the mail adapter.

I thought some body might have experienced ,Could somebody help me out in this

Regards

Rajesh

Former Member
0 Kudos

Hi,

use message protocol xipayload.

In mail attributes select use mail package and keep attachments.Now you select content encoding none.

Regards,

Prakasu

Former Member
0 Kudos

Hello,

I have already set the use Mail Attributes parameter and selected message protocol as XIPAYLOAD and content encoding to None.

Regards

Rajesh

Former Member
0 Kudos

Any guess foe this??

Rajesh

Former Member
0 Kudos

Hello,

Could somebody throw light on this

Rajesh