msafvati Posted June 30, 2007 Share Posted June 30, 2007 hi i set up SMTP and sendmail_from in my windows (php.ini) but when use from this sample code i have warning please guid me: SMTP: mail.yahoo.com sendmail_from:[email protected] code is : <? mail('[email protected]','Subject','body of message', "From:[email protected]\n"); ?> warning is :Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Documents and Settings\Administrator\My Documents\php5\mail.php on line 3 please guid me thank you msafvati Link to comment https://forums.phpfreaks.com/topic/57859-warning-in-mail/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.