How to Send Email From Localhost to Gmail with PHP - Sending Email from Wamp Server to any other email account


Sending Email from Localhost Wamp Server to Gmail account with PHP script.




The PHP mail() function is not sufficient to send email from localhost and we have to purchase an email server to send email from php mail() function and we need to change some parameter in php.ini file, but if you want to check your email form on localhost and do not want to purchase any email server then here is a good tutorial for sending email with php code without changing any SMTP port and parameter values.

You just only be provide your gmail account and password in it and you can easily send email to any other account.


Here is a complete code for sending Email Download Code





{ 1 comments... read them below or add one }

Anonymous said...

error - failed

Post a Comment