Re: mail function
| From: | Goetz Lohmann | Date: | Tue, 04 Feb 2003 12:08:59 +0000 |
| Subject: | Re: mail function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134251@lists.php.net to get a copy of this message | ||
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.