mahaa Posted September 29, 2009 Share Posted September 29, 2009 Hi All, Im using mail($to,$subject,$message,$headers); function to send mail. its already uploaded to server. if i execute this file im getting following error: Warning: mail() [function.mail]: SMTP server response: 503 Bad sequence of commands. You must specify the recipients of a message before you can send it in C:\Inetpub\vhosts\XXX.in\httpdocs\YYY\signup_success.php on line 159 what is this error? Whether i i want to includu any file? (like ini file) Help!!! Link to comment https://forums.phpfreaks.com/topic/175933-php-mail-error/ Share on other sites More sharing options...
cags Posted September 29, 2009 Share Posted September 29, 2009 It seems to specify that $to doesn't have a value (or at least a valid value). How about you show us what values you are passing in as parameters to mail()? Link to comment https://forums.phpfreaks.com/topic/175933-php-mail-error/#findComment-927037 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.