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

Re: Troubles with PHP and sendmail



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 example com

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

---end


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