PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.general > Configure mail to use Gmail smtp
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Configure mail to use Gmail smtp

Réponse
 
LinkBack Outils de la discussion
Vieux 16/09/2007, 08h17   #1
debussy007
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Configure mail to use Gmail smtp


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.
  Réponse avec citation
Vieux 16/09/2007, 11h24   #2
debussy007
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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...html#a12698490
Sent from the PHP - General mailing list archive at Nabble.com.
  Réponse avec citation
Vieux 16/09/2007, 11h39   #3
Thomas Bachmann
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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 !!
>>

>

  Réponse avec citation
Vieux 16/09/2007, 20h03   #4
mike
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Configure mail to use Gmail smtp

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

  Réponse avec citation
Vieux 17/09/2007, 10h05   #5
dcastillo@tsanalytics.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Configure mail to use Gmail smtp

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
>

  Réponse avec citation
Vieux 17/09/2007, 10h06   #6
dcastillo@tsanalytics.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Configure mail to use Gmail smtp

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
>

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 15h55.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13928 seconds with 14 queries