Re: Using mail() with w2k/IIS5 with SMTP feature
| From: | Ernani Joppert Pontes Martins | Date: | Fri, 04 Oct 2002 05:46:52 +0000 |
| Subject: | Re: Using mail() with w2k/IIS5 with SMTP feature | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16157@lists.php.net to get a copy of this message | ||
Are you using a SMTP server on your lan?
Does the user smtp_php@heimen.no has authority to send e-mails from this
SMTP server?
[]'s
Ernani
"Georg Herland" <georgh@online.no> escreveu na mensagem
news:20021003070706.4815.qmail@pb1.pair.com...
> Hi!
>
> I'm trying to insert sending of a "notice-mail" whenever someone submits
to
> a buletinboard.
> I've checked the SMTP service with a mail-client, and sending mail works
> fine. When I try to send via the mail() function in my php script, it
fails
> with the following warning:
>
> "Warning: Failed to Receive in
> L:\root_www_leilighet\app_to_top_of_guestbook.php on line 32"
>
> wich refers to the line where I use "mail($email_recipient,
$email_subject,
> $text);"
>
> Should I impress a certain format to my variables contents?
>
> My php.ini looks like this:
>
> [mail function]
> ; For Win32 only.
> SMTP = 10.0.0.2 ; for Win32 only
>
> ; For Win32 only.
> sendmail_from = smtp_php@heimen.no ; for Win32 only
>
> Can anyone please help?
>
> Regards, Georg Herland
>
>
>