Wednesday, 5 February 2014

Send Email From Localhost Using PHPMailer

How to send an Email from Localhost using wamp or xamp server through PHPMailer
Steps that you have to follow.
For WAMP SERVER
  • start wamp server
  • goto Apache -> Apache Modules ->Enable ssl_module
  • now goto php -> php extensions -> Enable php_openssl
  • now goto php -> php extensions -> Enable php_sockets
  • now goto php -> php extensions -> Enable php_smtp
  • Note if You not found php_smtp then Download php_smtp.dll
  • place this dll file to this location
  • C:\wamp\bin\php\php5.4.3\ext
  • Now it’s time to modify php.ini file
  • goto php -> php.ini















                    now Find “Dynamic extension”
  •           place any where in this section:  extension=php_smtp.dll
  •           Now restart the XAMPSERVER…
  •          Download Package From Here…..
  •          Now run sendMail.php
    FOR XAMP Server
    No configration required just download example given above and run it…
    I Hope this will help you for any other help please contact agotariyanilesh@gmail.com
    Thanks..

1 comment:

  1. Nice one And thanks for giving good tutorial or advise

    ReplyDelete