note 48126 rejected from faq.using by betz

From: Date: Mon, 13 Dec 2004 13:18:01 +0000
Subject: note 48126 rejected from faq.using by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-81744@lists.php.net to get a copy of this message
Note Submitter: boonlmin at yahoo dot com ---- 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

« previous php.notes (#81744) next »