getthisrite Posted February 22, 2009 Share Posted February 22, 2009 please tell me what is wrong with this statement???? mail("[email protected],"Requested Data",$name_from,$email_from,$EmailID,$code,$mail,$pw,$pw1); Link to comment https://forums.phpfreaks.com/topic/146326-is-this-mail-function-correct/ Share on other sites More sharing options...
ballhogjoni Posted February 22, 2009 Share Posted February 22, 2009 forgot the extra " see below. Plus all the extra header info needs to be formatted correctly. mail("[email protected]","Requested Data" Link to comment https://forums.phpfreaks.com/topic/146326-is-this-mail-function-correct/#findComment-768242 Share on other sites More sharing options...
getthisrite Posted February 22, 2009 Author Share Posted February 22, 2009 forgot the extra " see below. Plus all the extra header info needs to be formatted correctly. mail("[email protected]","Requested Data" This will be fine right!!!! mail("[email protected]",Requested Data",$name_from,$email_from,$EmailID,$code,$mail,$pw,$pw1) Link to comment https://forums.phpfreaks.com/topic/146326-is-this-mail-function-correct/#findComment-768243 Share on other sites More sharing options...
Q695 Posted February 22, 2009 Share Posted February 22, 2009 You have too many fields in the mail function. @mail($to, $subject, $message, $headers); Link to comment https://forums.phpfreaks.com/topic/146326-is-this-mail-function-correct/#findComment-768318 Share on other sites More sharing options...
br0ken Posted February 22, 2009 Share Posted February 22, 2009 Always read the manual! http://uk.php.net/manual/en/function.mail.php Link to comment https://forums.phpfreaks.com/topic/146326-is-this-mail-function-correct/#findComment-768349 Share on other sites More sharing options...
Q695 Posted February 22, 2009 Share Posted February 22, 2009 Was this solved with the help? Link to comment https://forums.phpfreaks.com/topic/146326-is-this-mail-function-correct/#findComment-768621 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.