Can php.ini be set to deliever to another smtp server (linux)

I'm trying to get php.ini running on a linux machine to deliver mail to my smtp server which is also on a linux machine. I have tried to modify this line:

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

I haven't had any success, and I'm curious if I'm missing something. Any help is appreciated.

 

 

 

 

Top