Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

LF to CRLF conversion issue in mail attachment generated using MAIL Package

$
0
0

Hello All,

 

We have implemented a file to mail adapter scenario (PI 7.31) , wherein we have used MAIL Package to generate dynamic file name to the mail attachment and a
UDF to populate the file content.

We are facing an issue here. The issue is, the mail attachment is getting only “LF” but our requirement is to send “CRLF” at the end of each line in the output file.

 

We tried below solutions:

 

  1. Module in the receiver mail adapter

        Module Name: SAP XI Sample/ConvertCRLFfromToLF

        Parameter Name: mode

         Parameter Value: LFtoCRLF

    2. In the UDF we tried adding ‘\r\n’ in both hexa decimal and ascii format. Here only ‘\n’ is getting populated in the file and ‘\r’ is ignored.

    3. We also tried using all content encoding options available in the receiver mail adapter.

 

None of the above solutions worked for us. Kindly let us know your thoughts on this and appreciate if you could give us some inputs to resolve the issue.

 

Thanks in advance.

Kavita


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>