Jump to content

php mail() error...


mahaa

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.