Page 1 of 1

Activating sendmail in mac osx

Posted: Sat Apr 03, 2010 1:14 pm
by tonykasdorf
What do I need to do in order to activate sendmail in my mac computer. I'm trying to send mail from my php script but the mail doesn't send.

I've altered my php.ini file to point at my sendmail program (usrs/sbin/sendmail).
I've tried altering my /etc/hostconfig file. Supposedly you need to change the MAILSERVER option from NO to YES but the file on my computer file doesn't include this option.

Any suggestions on how to activate sendmail?

Re: Activating sendmail in mac osx

Posted: Tue Apr 06, 2010 11:24 am
by pickle
If you're doing local PHP development, I suggest downloading & installing MAMP to make things simpler.

Re: Activating sendmail in mac osx

Posted: Fri May 07, 2010 3:41 pm
by pcjeffmac
what is the sendmail_path in the php config?

It should be this -> /usr/sbin/sendmail -t -i