Configure mail to use Gmail smtp

View: New views
6 Messages — Rating Filter:   Alert me  

Configure mail to use Gmail smtp

by debussy007 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 !!

Re: Configure mail to use Gmail smtp

by debussy007 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I succeeded using the Zend Framework.


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 !!

Re: Configure mail to use Gmail smtp

by thobach :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ZF rocks ;)

debussy007 schrieb:

> I succeeded using the Zend Framework.
>
>
>
> 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@...)
>> 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 !!
>>
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Configure mail to use Gmail smtp

by Michael Shadle :: Rate this Message:

Reply to Author | View Threaded | Show Only 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@...> 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@...)
> > 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 !!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Configure mail to use Gmail smtp

by Diana Castillo-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

the only possible problem is that with Gmail you cant send too many mails at
once, more than 30 or so and it gives you an error .  so if you are going to
be doing mass mailing you may not be able to use it.
----- Original Message -----
From: "Thomas Bachmann" <thobach@...>
To: <php-general@...>
Sent: Sunday, September 16, 2007 12:39 PM
Subject: Re: [PHP] Configure mail to use Gmail smtp


> ZF rocks ;)
>
> debussy007 schrieb:
> > I succeeded using the Zend Framework.
> >
> >
> >
> > 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@...)
> >> 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 !!
> >>
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Configure mail to use Gmail smtp

by Diana Castillo-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

what do you mean using the zend framework.  What did you do exactly?
----- Original Message -----
From: "debussy007" <debussy007@...>
To: <php-general@...>
Sent: Sunday, September 16, 2007 12:24 PM
Subject: Re: [PHP] Configure mail to use Gmail smtp


>
> I succeeded using the Zend Framework.
>
>
>
> 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@...)
> > 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 !!
> >
>
> --
> View this message in context:
http://www.nabble.com/Configure-mail-to-use-Gmail-smtp-tf4450311.html#a12698490
> Sent from the PHP - General mailing list archive at Nabble.com.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php