Portal Home > Knowledgebase > Articles Database > Strange PHP email headers problem


Strange PHP email headers problem




Posted by BurakUeda, 03-14-2012, 12:25 AM
Everything is working fine except the $from_name part. When I send this email, it arrives with several "reply-to" parts like this, without any "from" in the header: same thing happens if I use space only: "MY COMPANY" If I don't use any space, period or comma everything is fine: Any ideas about why is this happening? Tried to mime_encode the $from_name, but didn't work. This is a Debian server with PHP 5.2.6 Thanks for any help.

Posted by TomHooser, 03-14-2012, 09:10 AM
Hi, try using This could be the easiest resolution

Posted by dubdub, 03-14-2012, 09:37 AM
You should use CRLF should never be in the subject, or in the middle of any header..



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
RAQ4 to RAQ4 migration (Views: 398)
Help with Phishing (Views: 385)