Re: mail()
| From: | Jason Wong | Date: | Tue, 31 Dec 2002 23:04:11 +0000 |
| Subject: | Re: mail() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129810@lists.php.net to get a copy of this message | ||
On Tuesday 31 December 2002 22:05, Edward Peloke wrote:
> Hello all,
>
> For some reason, I have one computer running php that I can't get the mail
> function to work on. I get this error: Warning: Failed to Receive in
> c:\program files\apache group\apache\htdocs\mailtest.php on line 2
>
> The machine is running windows and apache as the web server. In my php.ini
> file, I have the smtp set to localhost.
>
> Any suggestions?
You're running Windows and you're telling PHP to use the SMTP server at
localhost -- do you actually have an SMTP running on that same server? If not
then you'll have to do the obvious, ie either install an SMTP server, or
point php.ini to a valid server.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
I once decorated my apartment entirely in ten foot salad forks!!
*/