Re: Mail
| From: | DL Neil | Date: | Mon, 22 Apr 2002 15:57:43 +0000 |
| Subject: | Re: Mail | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18730@lists.php.net to get a copy of this message | ||
Alex,
> I'm still having problems with the mail function.
>
> I have installed PHP in a Windows 2000 test server. Is there something
I
> should do to allow this function to work. I am a complete newbie and
> installed with the default settings. I get a "Failed to connect Error
when I
> call the mail() function.
>
> // retrieve values
> $row = mysql_fetch_array($ret);
> $email = $row["email"];
> $title = $row["title"];
> $comments = $row["comments"];
> $title = $row["title"];
>
> mail($email, $title, $comments);
Mail is controlled by settings in the php.ini file.
Please post the [mail function] section (changing any confidential names
to protect the guilty).
Setup for Windows differs from *NIX - hence confusion in many
tutorials/books... this matter is frequently discussed - see archives.
Regards,
=dn