note 63101 deleted from function.mail by danbrown

From: Date: Mon, 20 Jun 2011 15:12:45 +0000
Subject: note 63101 deleted from function.mail by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-180722@lists.php.net to get a copy of this message
Note Submitter: steve at stevewinnington dot co dot uk ---- To all you guys out there having problems with mail scripts throwing back this (and you know your scripts are right!!)... Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in: I had started seeing this after moving some scripts from 4.3 servers to 5. a dirty get around is using ini_set ("sendmail_from","a.body@acompany.com"); to force the From header. Not ideal but it works. ;)

« previous php.notes (#180722) next »