Problem:

This can happen if the customers email server does not like the standard linefeed (LF) characters that the SMTP/400 software sends after each line of data when sending a message. In order to stop the message corruption the SMTP/400 settings must be configured to send a CR/LF (Carriage Return/Linefeed) at the end of each message line. 
 

Solution:

After installing SMTP/400 V1.20 or above, the following change can be made to make sure that a CR/LF (Carriage Return/Linefeed) combination is always sent at the end of each message line. 
 
Run one of the following commands below as needed:
 
Enable sending CR/LF combinations after each line in an email message. This should prevent attachment file corruption during emailing.
CHGDTAARA DTAARA(RJSSMTP/SMTPBASE64) VALUE(SMTPMAIL5L)  
 
Reset to default SMTP/400 setting for Base64 conversion. This will only send a LF character after each message line. 
CHGDTAARA DTAARA(RJSSMTP/SMTPBASE64) VALUE(SMTPMAIL4L)  

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016