e-සටහන්

Wednesday, August 17, 2011

PHP mail() on WAMP

  1. Install the fake sendmail. (http://glob.com.au/sendmail/)

  2. Configure fake sendmail to use a valud SMTP server.

    example: Gmail
    smtp_server=smtp.gmail.com
    auth_username=your gmail username
    auth_password=your gmail password


    sources:
    https://mail.google.com/support/bin/answer.py?answer=13287
    http://www.geekzone.co.nz/tonyhughes/599

  3. Configure "php.ini" to use fake sendmail.

    example:
    sendmail_path = "c:\wamp\sendmail\sendmail.exe -t"

    source:
    http://www.joshstauffer.com/send-test-emails-with-wampserver/

  4. Restart Apache/WAMP.

  5. Write a call to mail() in PHP & run it.

by: Eranga Jayalatharachchi at 2:54 PM No comments:
Labels: Tech
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Me

Eranga Jayalatharachchi
View my complete profile

Links

  • My Wiki
  • My Flickr
  • Technology Goes Wild

Labels

  • Info (2)
  • jokes (2)
  • My Thoughts (2)
  • My Writings (2)
  • Selected Writings (5)
  • Tech (22)

Blog Archive

  • ►  2022 (1)
    • ►  December (1)
  • ►  2018 (1)
    • ►  July (1)
  • ►  2017 (1)
    • ►  August (1)
  • ►  2014 (3)
    • ►  October (1)
    • ►  April (2)
  • ►  2013 (4)
    • ►  August (1)
    • ►  March (1)
    • ►  January (2)
  • ►  2012 (2)
    • ►  November (1)
    • ►  August (1)
  • ▼  2011 (10)
    • ►  November (2)
    • ►  October (2)
    • ►  September (1)
    • ▼  August (1)
      • PHP mail() on WAMP
    • ►  July (3)
    • ►  June (1)
  • ►  2010 (3)
    • ►  August (2)
    • ►  February (1)
  • ►  2009 (3)
    • ►  July (2)
    • ►  April (1)
  • ►  2007 (13)
    • ►  August (2)
    • ►  July (11)
Awesome Inc. theme. Powered by Blogger.