Activating sendmail in mac osx

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
tonykasdorf
Forum Newbie
Posts: 6
Joined: Wed Mar 31, 2010 7:13 am

Activating sendmail in mac osx

Post 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?
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Activating sendmail in mac osx

Post by pickle »

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.
pcjeffmac
Forum Newbie
Posts: 4
Joined: Fri May 07, 2010 3:12 pm

Re: Activating sendmail in mac osx

Post by pcjeffmac »

what is the sendmail_path in the php config?

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