Reply to Re: [PHP] mail()

Your name:

Reply:


Posted by Jordan Miller on 08/17/05 19:52

Did you install sendmail?



http://www.php.net/mail

Requirements

For the Mail functions to be available, PHP must have access to the
sendmail binary on your system during compile time. If you use
another mail program, such as qmail or postfix, be sure to use the
appropriate sendmail wrappers that come with them. PHP will first
look for sendmail in your PATH, and then in the following: /usr/bin:/
usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib. It's highly recommended
to have sendmail available from your PATH. Also, the user that
compiled PHP must have permission to access the sendmail binary.


On Aug 17, 2005, at 11:48 AM, George B wrote:


> Warning: mail() [function.mail]: Failed to connect to mailserver at
> "localhost" port 25, verify your "SMTP" and "smtp_port" setting in
> php.ini or use ini_set()
>
> I checked php.ini and everything is open
>
> [mail function]
> ; For Win32 only.
> SMTP = localhost
> smtp_port = 25
>
> ; For Win32 only.
> sendmail_from = me@localhost.com
>
> SO why does it not work?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>

[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

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