d2army Posted September 26, 2006 Share Posted September 26, 2006 Hi there everyoneI am wondering why the PHP's mail() function will always add extra carriage returns to the message body when the email is sent out?For example, if I have something like :Yours Sincerely,Friendin the actual email, it becomes :Yours Sincerely,Friendwith that annoying extra carriage return after "Yours Sincerely," Could this have something to do with my header specs? This is the only important thing I have : MIME-Version: 1.0I didn't even specify the Content-type, and I assume it should be text/plain by defaultPlease help, thanks in advance Link to comment https://forums.phpfreaks.com/topic/22055-why-does-phps-mail-function-add-extra-carriage-returns-to-the-message-body/ Share on other sites More sharing options...
AndyB Posted September 26, 2006 Share Posted September 26, 2006 Best guess, sans code, is that the message is generated exactly as you've coded it. I've never had that problem. Link to comment https://forums.phpfreaks.com/topic/22055-why-does-phps-mail-function-add-extra-carriage-returns-to-the-message-body/#findComment-98678 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.