are you sure your mail settings in php.ini are correct:

[mail function]
; For Win32 only.
SMTP=<name of ip of your smtp server> ; for Win32 only

; For Win32 only.
sendmail_from=<your mail address> ; for Win32 only

regds,
-----Original Message-----
From: Francisco Murillo Montoya [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 05, 2002 22:51
To: [EMAIL PROTECTED]
Subject: Mail problem


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 c:\url\file.php on line 2.

I have Imail as Mail Server. Do you know why this happen?

Thank you.

Francisco Murillo



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to