Re: Configure mail to use Gmail smtp
| From: | mike | Date: | Sun, 16 Sep 2007 19:03:07 +0000 |
| Subject: | Re: Configure mail to use Gmail smtp | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262148@lists.php.net to get a copy of this message | ||
i'm quite sure you can't with php's built-in mail() function.
however more advanced modules should support it. look in PEAR, google
for phpmailer, etc. i'm sure there's got to be some. worst case i
think you have all the tools in PHP to make your own anyway.
On 9/16/07, debussy007 <debussy007@gmail.com> wrote:
> debussy007 wrote:
> >
> > Hello,
> >
> > I have read here :
> > http://www.geekzone.co.nz/tonyhughes/599
> > that I can use Gmail as a free SMTP server.
> >
> > Is it possible to change the php.ini in order to have this running ?
> >
> > I need to specify in some way the following :
> >
> > Outgoing Mail (SMTP) Server - requires TLS: smtp.gmail.com (use
> > authentication)
> > Use Authentication: Yes
> > Use STARTTLS: Yes (some clients call this SSL)
> > Port: 465 or 587
> > Account Name: your Gmail username (including '@gmail.com')
> > Email Address: your original isp address (username@isp.c0m)
> > Password: your Gmail password
> >
> >
> >
> > I can see in the php.ini that I can specify the port, smtp server and the
> > from.
> >
> > But how do I do for he other parameters ?
> >
> > Thank you !!