Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

mail() and sendmail_path

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

mail() and sendmail_path

Postby Jevad » Sat May 04, 2013 6:22 am

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',""); #For Win32 only.
ini_set('smtp_port',"25"); # For Win32 only.
ini_set('sendmail_from',""); #For Win32 only.
sendmail_path is not allowed to be set by ini_set().
New php-forum User
New php-forum User
Posts: 2
Joined: Mon Apr 15, 2013 5:35 am

Return to PHP coding => General

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.