Linefeeds in Email Headers |
[eluser]webthink[/eluser]
Hi, Thanks for looking into this! Using SMTP with authentication, Codeigniter 1.6, but have worked with the newest email library, to no avail. Server is a pretty standard LAMP CentOS/Qmail setup at Servint. It all comes down to the newline and crlf values. $newline = "\r\n"; $crlf = "\r\n"; This works for almost everyone, except some servers return the email complaining about invalid headers. If I change crlf to '\n', qmail refuses to send it: Qmail fails with: '451 See http://pobox.com/~djb/docs/smtplf.html. The following SMTP error was encountered: 451 See http://pobox.com/~djb/docs/smtplf.html. Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.' If I then try: $newline = "\n"; $crlf = "\r\n"; It works, except major ISP's like Yahoo and Comcast reject the mail. |
Messages In This Thread |
Linefeeds in Email Headers - by El Forum - 10-31-2008, 05:59 AM
Linefeeds in Email Headers - by El Forum - 11-03-2008, 09:59 AM
Linefeeds in Email Headers - by El Forum - 11-05-2008, 08:15 AM
Linefeeds in Email Headers - by El Forum - 11-05-2008, 09:18 AM
Linefeeds in Email Headers - by El Forum - 11-05-2008, 09:25 AM
Linefeeds in Email Headers - by El Forum - 11-05-2008, 12:49 PM
|