Reply to Re: configuring Gmail smpt in php´

Your name:

Reply:


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/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация