vijay Posted June 18, 2007 Share Posted June 18, 2007 Hi..mail() function returns TRUE if the mail was successfully accepted for delivery, FALSE otherwise. So you can check value for $sent.--------------------------------------------------------------------------------------------------------------------------------------- $sent=mail ( string to, string subject, string message [, string additional_headers [, string additional_parameters]] ) if($sent) echo "mail sent"; else echo "problem in mail sending.";---------------------------------------------------------------------------------------------------------------------------------------Regards,Vijay Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.