Jump to content

When using \r and \n in your mail


JREAM

Recommended Posts

Yes,

$headers = 'From: [email protected]' . "\r\n" .
    'Reply-To: [email protected]' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

Is the example on php.net of mail, Your server may be doing something to it.. You can remove the \r and try, it might be a problem with your webserver's SMTP.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.