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:
- 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