Jump to content

[SOLVED] html email line breaks \r\n


jesushax

Recommended Posts

Hi,

 

Im sending email in html format but instead of a line break im getting \r\n

 

here are my mail headers

$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";// More headers

 

ive tried doing a str_replace but it didnt work.

 

Any ideas?

 

Thankyou

Link to comment
https://forums.phpfreaks.com/topic/134495-solved-html-email-line-breaks-rn/
Share on other sites

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.