Skip to content

Instantly share code, notes, and snippets.

@abdullahbutt
Created April 29, 2014 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save abdullahbutt/11389999 to your computer and use it in GitHub Desktop.
Save abdullahbutt/11389999 to your computer and use it in GitHub Desktop.
how to send email from wamp using sendmail
Install Fake Sendmail (http://glob.com.au/sendmail/). 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"
Now, restart Apache, and that is basically all you need to do.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment