Scared of the Peacock Revolution since 2006
Blog » Stupid windoze mail() function
Someone posted a bug report about the mail() function needing to have a From: header.
You can set the From header system wide using php.ini, php_admin_* or ini_set(), or can specify it when calling the function.
I do neither. As on a non-windoze system, mail() calls the system's mail function, which sets the From: header if it isn't given. As windoze isn't good enough to have its own mail function, PHP must send the mail itself. Therefore in the unlikely chance that some on windoze hasn't set the From: header anywhere, they get given an error message.
And they want be to fix it. And it's all their fault. Maybe I should just reply saying PEBKAC...
Now playing: MDA by KJ-52 from It's Pronounced "Five Two"
please remove this comment
Posted by iFish, 20/11/2007 11:30am (4 years ago)
RSS feed for comments on this page | RSS feed for all comments
And these are the countries which the children of Israel inherited in the land of Canaan, which Eleazar the priest, and Joshua the son of Nun, and the heads of the fathers of the tribes of the children of Israel, distributed for inheritance to them.
Powered by SilverStripe. Hosted by RimuHosting.
Unlease otherwise stated, all content is licenced under a Creative Commons Attribution-ShareAlike Licence.