are you sure your mail settings in php.ini are correct:
[mail function]
; For Win32 only.
SMTP= ; for Win32 only
; For Win32 only.
sendmail_from= ; for Win32 only
regds,
-Original Message-
From: Francisco Murillo Montoya [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 05, 2002 22:51
Hello,
On 10/05/2002 02:21 PM, Francisco Murillo Montoya wrote:
> Hello;
>
> I have PHP 4.2.3 on Windows 2000 advanced, and when
> I try to use the mail funtion, the server returns an error.
>
> mail("[EMAIL PROTECTED]","Formulario","cuerpo");
> ?>
>
> The page sais: Warning: Server error in
> -Original Message-
> From: Jochem Kempe [mailto:[EMAIL PROTECTED]]
>
> it gives: Warning: failed to connect.
>
Either your SMTP-server or netconnection is missing.
If it's not the connection btween your server and the SMTP-server check the
php.ini and change the serverspecifications.
When I try to send an e-mail with the mail90 funstion it seems that it isn't
working very well.
I'm running apache 1.3.24 (2.0.36 can't be downloaden allready compiled, can
it?)
and when I put a line in my source like:
mail("[EMAIL PROTECTED]", "My Subject", "Line 1\r\nLine 2\r\nLine 3\r\n");
it
Hello,
On 05/11/2002 04:56 AM, Tomator wrote:
>>I'm using WinXP with PHP as Apache's module and have PHP.INI in C:\winnt,
>>where is the line "SMTP = my.addres". However phpinfo() ALWAYS tells that
>>SMTP is "localhost". I can change thist only with ini_set(), but it
>
> doesn't
>
>>fix my prob
> I'm using WinXP with PHP as Apache's module and have PHP.INI in C:\winnt,
> where is the line "SMTP = my.addres". However phpinfo() ALWAYS tells that
> SMTP is "localhost". I can change thist only with ini_set(), but it
doesn't
> fix my problem - I can't send any e-mail from my PHP!
OK, I've ma