Dale schrieb: > I am trying to configure the php.ini file so that I can use the mail > function in my code. The problem I am facing is that I get the following > error message when I try to run my code: > > Warning: mail() [function.mail]: SMTP server response: 550 Relaying is > prohibited >
this is an error of sendmail not from PHP ! ... take a look at the /etc/mail/sendmail.cf or /etc/mail/access of your box and enable relaying for maybe localhost ... -- @ Goetz Lohmann, Germany | Web-Developer & Sys-Admin \/ ------------------------------------------------------ () He's the fellow that people wonder what he does and || why the company needs him, until he goes on vacation. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php