Description:I am sending email through my code using c#,and the email functionality working fine on my local environment but when deployed on live environment it started giving me following exception,
System.Net.Mail.SmtpException: Transaction failed. The server response was: Rejected - Message containing bare LF's.
I am sending html formatted email.
Posted by: Khalid Abbas | Posted on: Oct 12, 2018
5
Simple way to solve this is by removing those character from your email html, you can use the following code for the purpose.
Replied by: Junaid Aziz | Replied on: Oct 17, 2018