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?
Activating sendmail in mac osx
Moderator: General Moderators
-
tonykasdorf
- Forum Newbie
- Posts: 6
- Joined: Wed Mar 31, 2010 7:13 am
Re: Activating sendmail in mac osx
If you're doing local PHP development, I suggest downloading & installing MAMP to make things simpler.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Re: Activating sendmail in mac osx
what is the sendmail_path in the php config?
It should be this -> /usr/sbin/sendmail -t -i
It should be this -> /usr/sbin/sendmail -t -i