about 9 years ago
Hello Reader's If you are working on your local host and not able to send the email then by configuring your WAMP server you can send email. Let's see how it is done:-
First just install Fake Sendmail (download sendmail.zip). Then configure C:\wamp\sendmail\sendmail.ini:
- smtp_server=smtp.gmail.com
- smtp_port=465
- auth_username=user@gmail.com
- auth_password=your_password
- The above will work against a Gmail account. And then configure php.ini:
- sendmail_path = "C:\wamp\sendmail\sendmail.exe -t"
smtp_server=smtp.gmail.com smtp_port=465 auth_username=user@gmail.com auth_password=your_password The above will work against a Gmail account. And then configure php.ini: sendmail_path = "C:\wamp\sendmail\sendmail.exe -t"
Make the mail path as written above Now, restart Apache, and that is basically all you need to do.
0 Comment(s)