Troubles with PHP and sendmail
Guy Fraser
guy at incentre.net
Wed Sep 7 14:44:17 UTC 2005
On Tue, 2005-06-09 at 19:15 -0700, Peter Gordon wrote:
> Guy Fraser wrote:
> > Is there a cookie cutter fix to allow the PHP mail()
> > function to work?
>
> If I'm not mistaken, you just need to set your PHP to use an SMTP server
> instead of directly using sendmail in your php.ini file.
>
This is what I have in the /etc/php.ini mail section :
---start
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = me at example.com
; For Unix only. You may supply arguments as well (default: "sendmail -
t -i").
;sendmail_path = /usr/sbin/sendmail -t -i
---end
More information about the fedora-list
mailing list