You are here: Re: Use external SMTP server (like google apps) to send email « PHP Programming Language « IT news, forums, messages
Re: Use external SMTP server (like google apps) to send email

Posted by Manuel Lemos on 01/11/08 01:32

Hello,

on 01/10/2008 12:28 AM IanReardon@gmail.com said the following:
> Is it possible to configure an external SMTP server to route all of
> your outgoing mail through on Linux?
>
> I know in php.ini there is a parameter, but it says its only for
> windows? Can I do this on Linux?

Gmail SMTP server requires establishing TLS secure connections to port
995, which is something the mail function does not support.

You can try using the smtp_mail() function which is a replacement for
the mail() function that can be configured to route messages via the
Gmail SMTP server:

http://www.phpclasses.org/mimemessage

You also need this other class to deliver the messages

http://www.phpclasses.org/smtpclass

and this for authenticating:

http://www.phpclasses.org/sasl


Regards,
Manuel Lemos

PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

 

Navigation:

[Reply to this 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

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