You can use Gmail SMTP to send emails remotely even in your localhost machine with WAMP.
First you must download phpmailer
After you extratced all zip files goto examples folder. In there you will find test_smtp_gmail_basic.php file. Just edit the code with your gmail username and password and you are ready to go.
Before executing the script goto php.ini file and remove the ; that is infront of extension=php_openssl.dll
Then restart your server.
Leave a comment if you need any help.
No comments:
Post a Comment