cancel
Showing results for 
Search instead for 
Did you mean: 

Having Some unknown characters in my file of Receiver Mail Adapter

Former Member
0 Kudos

Hi All,

I have a unique problem, I am having special characters( #S@u201D E" E$ u201Däu201Där 4TåE$R D0u201CC3 u0192 c@u201DÔôETÄPu201Du201Eu20220u201D 3@u201C ó ró# u20ACu201C ó# ó# u2019 ) in text file of Receiver Mail Adapter.I am providing you a part my input text file

1747021 000070 0001 Production Baseline ZTAN 100A 0039 2204229-1 50 PLANT3002 Honeywell Aerospace Bournemouth - R 3212774 NOZZLE HIS M22 12/31/2008 01/05/2009 1.000 1.000 1.000 01/05/2009

1745558 000100 0001 Production Baseline ZTAN 100A 0039 801137-1 80 304030 LUFTHANSA TECHNIK AG 45111378001 WHEEL HIS M22 12/30/2008 01/12/2009 3.000 3.000 3.000 01/12/2009 COOP Legacy Notes - Note Type: 07N UPDATE AS OF 11/8 SH AVS Legacy Notes - Note Type: AB 1. A QTY OF 53 NEW PARTS WERE PURGED ON 3-5-99 PER KAREN MOSS' REQUEST. PARTS ARE SUSPECT OF BEING DAMAGED DUE TO BEING STORED IN ASRS IN A METAL TO METAL SITUATION.

1740335 000100 0002 Production Baseline ZTAN 100A 0039 3176647-4 80 341734 SAUDI ARABIAN AIRLINES CORP 8233950 VALVE, CONTROL Jaroslav Kral M18 12/24/2008 12/31/2008 1.000 1.000 1.000 01/23/2009 COOP Legacy Notes - Note Type: 07N D PARTS NEED TO CHEC WITH LUPE WIN ISSUIN COOP Legacy Notes - Note Type: POG REPLCS 3176647-3 AS A MANDATORY CHANGE. 3399100-11 V17138 (TAKES -4 TO -11) 3399100-11 V17139 (TAKES -9 TO -11) 3399100-10 V17140 (TAK

1734808 000100 0002 Production Baseline ZTAN 100A 0039 3883240-6 80 300168 IBERIA LAE 48017888601 CONTROL FUEL HIS M13 12/20/2008 01/10/2009 1.000

1.000 1.000 04/29/2009 AVS Legacy No

Can any one help me out?

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

Could you post your settings of the mail adapter channel? Do you use any additional modules?

The String that you posted looks like binary data.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan,

I am Using Transport Protocol as IMAP4

Message Protocol as XIPayload

Connection Parameters to Mail Server

URL -


.mycompany.com

Mail Attributes

Use Mail Package

content Encoding base64

Keep attachments

I have Used the following Modules

Processing Sequence

Module Name Module Type Module Key

localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean Payload

localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean Transform

sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail

Module Configuration

Module Parametername Parameter Value

Payload swap.KeyName content-type

Payload swap.KeyValue text/xml

Transform Transform.ContentDescription MyReport.txt

Transform Transform.ContentDisposition attachment

Transform Transform.Contenttype text/xml

stefan_grube
Active Contributor
0 Kudos

Could you try:

Transform Transform.Contenttype text/plain;charset="UTF-8"

Former Member
0 Kudos

I have made the necessary changes as you have Instructed but it is throwing me the same error.

Regards,

Uday

stefan_grube
Active Contributor
0 Kudos

As your result is far from your input, it is not possible to find the issue in your case.

But it is no encoding issue, as not only some characters are wrong. It seems as the result is a String representation of a binary.

Regards

Stefan

Edited by: Stefan Grube on Mar 19, 2009 5:25 PM

shweta_walaskar2
Contributor
0 Kudos

Hi Uday,

Set content encoding as base64 in your receiver mail adapter if you have problem with special characters in file content.

Also,if you have problems with mail subject(Adapter specific message attributes) ,please refer to this thread:

Problem with Special characters(Russian) using DynamicConfiguration

Kindly let us know,if this resolves your problem.

Thanks.

Regards,

Shweta