Skip to Content
0
Former Member
May 06, 2009 at 05:21 PM

Extra Control Char in Multi-Part Message of Mail Attach. using Mail Adapter

63 Views

Hi All,

I am using the following structure to send my content. Everything is right except the problem with some junk characters at the end of the file in the attachment. May I know how to get rid of them?

http://sap.com/xi/XI/Mail/30">

<Subject>Testing MultiPart</Subject>

<From>From Add</From>

<To>To Add</To>

<Content_Type>multipart/mixed; boundary="--AaZz"</Content_Type>

<Content>

-


AaZz

Content-Type: text/plain; charset=UTF-8

Content-Disposition: inline

This is a system generated mail. Do not respond

-


AaZz

Content-Type: text/attach; name=Testing.txt

Content-Transfer-Encoding: 7bit

Content-Disposition: attachment; name=Testing.txt

TEST VALUE1

TEST VALUE2

</Content>

</ns1:Mail>

I have used values 7bit,8bit, base64, US-ASCII in the parameter Content-Transfer-Encoding. But nothing seems to be working.

Can anyone please help?

Thanks,

Geetha