cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with carriage return line feed(hex 0d0a) in Recevier Mail adapter

Former Member
0 Kudos

Hi,

I have a scenario to send .bin file as mail attachement.

  • The .bin file is availalble in FTP folder.
  • From FTP folder i have to pick this file send it as attachment with out any conversion.
  • Now i can send this file as attachment using FIle to mail scenario.
  • Now i have a problem with the terminator, as user is using Windows platform and user is saying he receives the attachment with terminator (hex 0a).
  • If he takes the file directly from FTP folder it will work. he has problem only with the file which is received through mail.
  • Below is the communication channel configuration for receiver mail adapter.

  

Receiver channel        

Adapter TypeTransport Protocolmessages protocolAdapter engine
Mail IMAP4XIPAYLOAD  Integration Server

          I am not using Mail Pacage.

          Here i am using transformation Bean

Module:

Processing Sequence:

    

Module Name:Module TypeModule Key
localejbs/AF_Modules/MessageTransformBean Local Enterprice BeanContent Type
localejbs/AF_Modules/TextCodepageConversionBean               Local Enterprice Bean                         codepageConversion
sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean        Local Enterprice Bean                         mail

Module Configuration:

Module Key         Parameter NameHParameter Value
Content Type                                          Transform.ContentType  text/plain;charset="UTF-8";name="F57T4901EN.bin"
codepageConversion Conversion.charset     ISO-8859-1
codepageConversion Header.endSeparator   '0x0D''0x0A’
codepageConversion Header.fieldSeparator ;
codepageConversion Items.endSeparator  '0x0D''0x0A’
codepageConversion Items.fieldSeparator   ;


Screen shot also been attached for recevier mail adapter.

Can you please let me know how can i take it forward to fix this issue.

Regards

Purushotham

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Can you please help us to solve the above issue.

Regards

Purushotham

Ryan-Crosby
Active Contributor
0 Kudos

Hi Purushotham,

It looks to me like you may be confusing the functionality of the TextCodepageConversionBean with the MessageTransformBean.  The MessageTranformBean is the one you would use to transform the message from an xml format to a flat file format where you designate field and end separators.  Aside from that you also have a funny looking apostrophe character at the end of each endSeparator that could impact the execution of the module so you get undesirable output.

Regards,

Ryan Crosby