Monday, 24 July 2017

sql - Setting up Mail (PHP)


Possible Duplicate:
Send email using GMail SMTP server from PHP page







I'm pretty new to mail in PHP, and I am wanting to set up mail().



The problem is, after a few hours of trying to get it working, I simply can not!



I am wanting this to happen:



I want to send emails to the users on my website via my gmail address.




  1. I am not sure WHERE i configure SMTP for gmail. Do i edit the settings in php.ini (ssl:smtp.gmail.com; 465)?



  2. Is there a way to send emails using the PHP mail() function without the need to use something like pear? I am just wanting to use the mail() function.


  3. If that is not possible, is there a way I can send emails to my users via the localhost setup?




I am pretty confused after looking around for answers during the past few hours.



Any help would be greatly appreciated!

No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...