Good day
Message delivery fails with the error message - message has lines too long for transport
Usually this happens when a line goes over 1000 characters, as that’s the RFC required limit.
So, i added CRLF after all my HTML tags. Then, I figured the problem is with
esmtp.Body = su.EncodeBase64(emailbody.GetBytes("utf8"))
repalce this with esmtp.Body = emailbody, and the email goes through successfully.
any suggestions?
Message delivery fails with the error message - message has lines too long for transport
Usually this happens when a line goes over 1000 characters, as that’s the RFC required limit.
So, i added CRLF after all my HTML tags. Then, I figured the problem is with
esmtp.Body = su.EncodeBase64(emailbody.GetBytes("utf8"))
repalce this with esmtp.Body = emailbody, and the email goes through successfully.
any suggestions?