Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to send email using Wamp server in PHP

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 174
    Comment on it

    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"
    

    Make the mail path as written above Now, restart Apache, and that is basically all you need to do.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: