You are here: Re: mail() with port & authentication « PHP « IT news, forums, messages
Re: mail() with port & authentication

Posted by "Mark Rees" on 10/17/50 11:29

> Do I need to use Pear to specify port 587 and authentication when
> sending mail? I could not find any way to do it using mail().


Windows or Unix? On Windows you can set the port by setting smtp_port in
php.ini. Unix doesn't appear to have a direct equivalent, but you might be
able to do something with sendmail_path?

As for SMTP authentication, when I wanted to do this on Windows I went for
phpmailer
http://phpmailer.sourceforge.net/

Hope this is of some help

Mark

 

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

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