Hi All :-)
I am new to PHP and are testing an email script which shows the error below. I am using localhost and didnt know how to fix the problem.
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in room-reservation-booking-form.php on line 124
----
While i uploaded it to the hosting server for testing, it said : successfully sent out. Yet, i didnt receive any email to both my gmail account and personal email accounts. Please advise what should i do to rectify the problem. Thanks :-)



Reply With Quote





Bookmarks