sendmail_path() problem

Hey ya’ll, I was wondering how to set the sendmail_path() in the php_ini file so that the mail() function can work. Thanks

thats not the problem. You just have to make sure that your STMP is set to localhost, and it usually is on most servers. Check out this to find out what your values are:

hey jubba,
I know about the localhost thing and stuff. The SMTP IS set to localhost. The mail() function still gives me an error. This is what it says:

Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for

are you testing from your local machine or are you uploading to a server?

if its your machine then the mail() function won’t work when tested locally.

if its a server, then check with them, they may have the mail function disabled to prevent spam.

so thats what it was! I’m testing it locally. That sucks. Oh well, thanks anyways Jubba. :thumb: