Email Problem....SOLVED!!!!
| From: | OoCobra97 at aol dot com | Date: | Thu, 15 Mar 2001 05:58:21 +0000 |
| Subject: | Email Problem....SOLVED!!!! | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6043@lists.php.net to get a copy of this message | ||
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