I have problem with my localhost mail server.
I like to use php function mail() but I like to chose a other mail server to use in my network.
sendmail_path = /usr/sbin/sendmail -t -i
works really bad for me. I like to use my deticated mail server insted.
Only sems like windows servers can use
ini_set('SMTP',"mail.server.com"); #For Win32 only.
ini_set('smtp_port',"25"); # For Win32 only.
ini_set('sendmail_from',"firstname.lastname@example.org"); #For Win32 only.
sendmail_path is not allowed to be set by ini_set().