Posted by Manuel Lemos on 01/11/06 17:55
Hello,
on 01/11/2006 01:46 AM julian_m said the following:
> Is there any way to set up the php.ini file, in order to be able to use
> gmail to send mails from a local machine?
>
> I've tryied with
>
> SMTP = smtp.gmail.com
> smtp_port = 25
>
> but I can't figure out where I've to write user and password data nor
> the place where I've to write the SSL data which Gmail waits for...
Not with the mail function under Linux/Unix systems.
You may want to try this MIME message class that comes with a wrapper
function named smtp_mail(). That function emulates the mail() function
but lets you send messages to a SMTP server of your choice and supports
authentication.
http://www.phpclasses.org/mimemessage
You also need this for SMTP delivery:
http://www.phpclasses.org/smtpclass
and this for authentication:
http://www.phpclasses.org/sasl
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
Navigation:
[Reply to this message]
|