what to do if you get this error message
arning: 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:\wamp\www\phpdev\report.php on line 39
1. to fix this problem you need to change the smtp settings (simple mail transfer protocol)
2. look at the php.ini file at this location wamp/Apache2/bin/php.ini
3. open the file using your favorite text editor
4. search for smtp
the default is SMTP = localhost
5. what you need to find out from your service provider is the name of your smtp.
now replace the localhost value with the name of your service provider
6. now reset wamp
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Step 1: First you need to download and install python. You can get a python installation from http://www.python.org/download/ Step 2: now...
-
In this file i purposely made mistakes to see what would happen. I hope this helps
-
to settup the database for Django step 1: go to the settings file ENGINE': 'django.db.backends.sqlite3', # Add 'postgresq...
No comments:
Post a Comment