Oliver,
I had a problem (with 10.3) sending emails (as HTML) – my server was rejecting them with error "RECEIVED: 451 See http://pobox.com/~djb/docs/smtplf.html".
Upon examining the email I noted it had LF (\\n) characters and not CRLF (\\r\\n) at the end of the line.
I have successfully resolved the issue by making a few changes to the code – however I'm not sure I have ALL the changes or even whether I have made some unnecessarily (as your code may filter out changes later). These are the correctins I made:
lib_ajax.php lines 371, 413 and 498 change '\\n' to '\\r\\n'
lib_nonajax.php lines 312 and 494 change '\\n' to '\\r\\n'
lib_aux.php lines 167,168,178,179, 187-191, 200, 201 change '\\n' to '\\r\\n'
I am also wondering whether to make changes to lib_nonajax lines 410 and 412? and cforms_phpmailer.php lines 77 and 99?
So my question is:
Which of the changes I have made/identified I actually needed to make to ensure CRLF on all submited emails (as HTML)? Are there any changes I have missed?
_________________________________________________________________
My second question is that when submitting HTML emails you have coded <HTML> and <BODY> tags (and the associated closing tags) in capitals – whereas now xhtml compliance and good practice suggests they should be lowercase i.e. <html> etc. Is this an "email" thing I'm not aware of or just an oversight?
Thanks for reading and I trust we can get these corrected in future versions of your (excellent) plugin,
Cybersheep100