|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-11-17 11:22 UTC] php at dries dot plus dot com
The mail() function always returns a false value, even when it sends the mail successful. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 16:00:01 2025 UTC |
Not much information to add. I have the following code: if(mail("somebody@nobody.com","subject","body","From: ...")) { echo ("success"); } else { echo ("fail"); } This always returns fail even when the email has been send successfully. I am running php 4.2.2 on Apache as module. Using default mail setup etc.