Skip to Content
author's profile photo Former Member
Former Member

Receiver mail with text file attached without line feeds

Hi, friends

I have a text file to mail scenario, where file must be attached to receiver mail.

Receiver CC mail is protocol XIPAYLOAD and use mail package and keep attachment.

In tab module, i have:

Module name --> SAP XI Sample/ConvertCRLFfromToLF

Module configuration --> mode LFtoCRLF

The plain text file is attached to mail but there are no line feeds after the plain text lines.

Thanks, in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Aug 20, 2008 at 07:27 AM

    Why r u using this module? Is there a conversion from Windows line feed to Unix line feed or vice-versa.

    Regards,

    Prateek

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      My problem is that i have a sender file in unix system that contains line feed.

      Sender unix file is like:

      LIN|0089541|150/200 3K EU/K|1|6.000|0|6.1|

      LIN|0089579|5|10.000|0|4.7|

      LIN|0089594|6|30.000|0|2.85|

      LIN|0089599|3|15.000|0|4.55|

      But received filed attached to mail is like:

      LIN|0089541|150/200 3K EU/K|1|6.000|0|6.1|LIN|0089579|5|10.000|0|4.7|LIN|0089594|6|30.000|0|2.85| LIN|0089599|3|15.000|0|4.55|

      And size is also different.

      Thanks,

  • Posted on Aug 20, 2008 at 09:11 AM

    If you work with attachments, you first have to use PayloadSwapBean to switch attachment and main payload, then use the ConvertCRLFfromToLF module and then PayloadSwapBean again.

    Regards

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2008 at 02:21 PM

    fieldSeparator='0x0D''0x0A' solved this problem.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.