Re: can't use the function mail().
| From: | Stuart Dallas | Date: | Wed, 19 Jun 2002 10:10:27 +0000 |
| Subject: | Re: can't use the function mail(). | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14294@lists.php.net to get a copy of this message | ||
On Wednesday, June 19, 2002, 10:48:15 AM, \"吴斌\" wrote:
> it says:
> Warning: Failed to Connect in C:\Inetpub\wwwroot\php\send2.php on line 2
> <?php
> mail("wubin@sjtu.edu.cn","hi","body");
> ?>
Have you changed the SMTP settings in PHP.ini?
http://www.php.net/manual/en/ref.mail.php
--
Stuart