Re: Troubles with PHP and sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx

; For Unix only.  You may supply arguments as well (default: "sendmail -
t -i").
;sendmail_path = /usr/sbin/sendmail -t -i

---end


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux