Mail Function Error
Posted: Fri Jul 23, 2010 10:01 am
Good Evening,
I found a tutorial that really helped me a lot on my project requirement. Here's the link http://swish-db.com/tutorials/view.php/tid/601. I am still in the process of familiarizing php codes, and hopefully I can grasp them immediately since I need it on my job. I did some modifications since the database I am connecting is different from that of the tutorial, and I know the modifications I made, based of course on my references is correct. However, i had this output after I tried to use the registration function:
You have successfully Registered
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 C:\xampp\htdocs\sample\register.php on line 54
Your information has been mailed to your email address.
To my understanding, the code for registration is correct, the only error the code stumbled upon is the mail function. Can anyone help me with this one? I am a newbie with php programming (actually with programming) and I am lost what or where to search the error I got.
Appreciate all your help, thank you in advanced ^^
I found a tutorial that really helped me a lot on my project requirement. Here's the link http://swish-db.com/tutorials/view.php/tid/601. I am still in the process of familiarizing php codes, and hopefully I can grasp them immediately since I need it on my job. I did some modifications since the database I am connecting is different from that of the tutorial, and I know the modifications I made, based of course on my references is correct. However, i had this output after I tried to use the registration function:
You have successfully Registered
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 C:\xampp\htdocs\sample\register.php on line 54
Your information has been mailed to your email address.
To my understanding, the code for registration is correct, the only error the code stumbled upon is the mail function. Can anyone help me with this one? I am a newbie with php programming (actually with programming) and I am lost what or where to search the error I got.
Appreciate all your help, thank you in advanced ^^