|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 !! -- View this message in context: http://www.nabble.com/Configure-mail...html#a12697262 Sent from the PHP - General mailing list archive at Nabble.com. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 !! > -- View this message in context: http://www.nabble.com/Configure-mail...html#a12698490 Sent from the PHP - General mailing list archive at Nabble.com. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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@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 !! >> > |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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 !! |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
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@web.de> To: <php-general@lists.php.net> 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@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 !! > >> > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
what do you mean using the zend framework. What did you do exactly?
----- Original Message ----- From: "debussy007" <debussy007@gmail.com> To: <php-general@lists.php.net> 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@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 !! > > > > -- > 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 > |
|
![]() |
| Outils de la discussion | |
|
|