RE: [PHP-WIN] Problems using mail() it always states Failed to Re ceive in
| From: | Martin Lindhe | Date: | Mon, 28 Jan 2002 10:25:37 +0000 |
| Subject: | RE: [PHP-WIN] Problems using mail() it always states Failed to Re ceive in | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-11670@lists.php.net to get a copy of this message | ||
> I'm trying to use mail() and have read about all kinds of
> troubles, but i've got another one :-)
>
> The machine is running IIS5 configurated for smtp-mail.
> I've set $email, $subject, $body and $header and try to use
> $mailsend = mail("$email", "$subject", "$body",
> "$header"); I always get an error stating
> Failed to Receive in
> This behaviour is the same when $header is not used.
>
> Does anyone know what this error means?
>
> Jan-Volkert
Have you configured php.ini and set the SMTP and sendmail_from fields?
/Martin