Re: function mail()
| From: | Tobias Talltorp | Date: | Wed, 21 Mar 2001 12:42:26 +0000 |
| Subject: | Re: function mail() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44931@lists.php.net to get a copy of this message | ||
See the SMTP value in your PHP.ini and set it to a valid outgoing mail
server
Another thing I have noticed, perhaps this is only me, is that if the
TO-address isn´t valid it will fail.
Try to send an email to your own email address...
// Tobias
""Eric Tonicello"" <eric.tonicello@epfl.ch> wrote in message
news:99a1hq$tns$1@toye.p.sourceforge.net...
> Hi !
>
> I'm trying to use the function mail().
>
> <?php mail("test@xxx.com", "subject", "message"); ?>
>
> I get :
>
> Warning: Failed to Connect in D:\IBOIS\web\test.php on line 1
>
> I'm using the lastest version of PHP on IIS 4.0
>
> What's wrong ?
>
> Should I change the php.ini ?
>
> If I try to use the snmp library i get lot of errors...
>
> PLease help.me
>
> mcfly
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>