I am having to edit the functions.php and diagnostics.php to make them RFC complaint so that servers will email them. Hosts are not keen on installing qmail injectors and likes to make non RFC compliant email send. The fix is easy and there are no downsides to it, it would just be nice if it was correct by default.
In functions.php in the includes folder change:
to:
That is a quick and dirty fix, the if else is realy negated because the need to for \r\n all the time. A proper RFC compliant LF never hurt anything.
The same needs to be done on diagnostics.php to enable RFC compliance.
In functions.php in the includes folder change:
Code:
$sendmail_path = @ini_get('sendmail_path'); if ($sendmail_path === '') { // no sendmail, so we're using SMTP to send mail $delimiter = "\r\n"; } else { $delimiter = "\n"; }
Code:
$sendmail_path = @ini_get('sendmail_path'); if ($sendmail_path === '') { // no sendmail, so we're using SMTP to send mail $delimiter = "\r\n"; } else { $delimiter = "\r\n"; }
The same needs to be done on diagnostics.php to enable RFC compliance.
Comment