Re: Email Problem....SOLVED!!!!
| From: | Giro | Date: | Thu, 22 Mar 2001 01:07:54 +0000 |
| Subject: | Re: Email Problem....SOLVED!!!! | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6208@lists.php.net to get a copy of this message | ||
How you get to configure your email server under apache/win (smtp as
localhost and email postmaster@localhost), I have tried to find information
about that without success. Which email server you are using to retrieve
message and send them. I am confuse.
Giro
<OoCobra97@aol.com> wrote in message news:70.8aa2986.27e1b3fd@aol.com...
> Hello,
> I've been seeing quite a few e-mails about the mail() function not
> working...well mine worked fine until today i believe, but it looks like
it
> has to do with the php ini setting, althoug Ive changed my ini, it still
> didnt work, so heres a workaround I found on php.net that works great. In
> the script your working on right before the mail function, put the
following
> variables
>
> ini_set("SMTP", "your.smtp.server");
> (i used localhost, thats where my server is)
>
> ini_set("sendmail_from", "user@your.domain");
>
> (i used postmaster@localhost)
> now my script works great, and hopefully everyone else's will
>
> ~Jeff
>