Sendmail Permission Denied

liquidg3

Registered
Ok, i got sendmail up and running, but cannot for the life of me get the mail function in php to work!!

Why would this be?

thanx
 
When you look at the output from phpinfo(); is the path to sendmail correct?

Since php.ini does nto exist on OS X by default, you can just create a symlink from wherever PHP thinks sendmail is, to where it actually is.

Now to be more broad, what exactly isn't working? Do you get an error message, or do you just not receive any mail() that you send? Is it possible that you're not configuring the outgoing headers properly?

Give us some code snippits and maybe we can help a bit better ;)
 
K, when i run the mail() function, nothing happens, nothing at all... no errors, no nothin' I just never get an email.... here is the path to my sendmail according to phpinfo(): /usr/sbin/sendmail -t -i

i don't know what the -t and -i options are, but when i go in terminal, i find an executable named sendmail there... so not sure is there is another somewhere else or not.lol

If you need more info... i'll try my best in my next post :)

thanx
 
i can send mail through my server, i have lots of mail accounts set up. I just cannot use the mail function.
 
Back
Top