note 48126 added to faq.using

From: Date: Mon, 13 Dec 2004 08:16:35 +0000
Subject: note 48126 added to faq.using
Groups: php.notes 
Request: Send a blank email to php-notes+get-81738@lists.php.net to get a copy of this message
I 'm having a problem using mail() function. I reciepted a message "Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in" mycode : $mailFrom = 'From : kob@mymail.com \n'; $mailTo = 'support@mymail.com'; $subject = "Test mail Server "; $msg = "Hello my friend. "; $result_mail = mail( $mailTo , $subject , $msg , $mailFrom); php version 4.3.6 How can I 'll solve this problem. Thank you ---- Manual Page -- http://www.php.net/manual/en/faq.using.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+48126 Delete -- http://master.php.net/manage/user-notes.php?action=delete+48126&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48126&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48126&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48126&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48126&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48126&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+48126&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#81738) next »