Lone CR LF in email messages

11 views
Skip to first unread message

Aron Podrigal

unread,
Apr 24, 2015, 6:03:17 AM4/24/15
to django...@googlegroups.com
Hi,

I'm using django 1.6 with python3.2. I'm getting errors sending emails. Mail servers reject the emails due to lone CR or LF violating rfc2822. I searched with a hex editor where that is, and i found it has a single \r at the end of the message. When I tried to debug outputting the message to a file before its sent and it had much more \r. Had anyone else have such issue? Is it django or python libsmtp?

Thanks
Reply all
Reply to author
Forward
0 new messages