Re: [PHP-INSTALL] Problem with Mail() function

2004-11-30 Thread Hendrik Schmieder
chandrika raju schrieb: Hello Thank you for ur reply. It is the problem with SMTP configuration. Itis set to localhost. How do I change this to run this program. Any suggesstions? chandu You must edit php.ini. See Hendrik On Tue, 30 Nov 2004 He

Re: [PHP-INSTALL] Problem with Mail() function

2004-11-30 Thread Hendrik Schmieder
chandrika raju schrieb: Hello Everybody, When I try to use mail() function it is not working. This is my program: $success=mail($to, $subject, $message, "From:$from"); if ($success) echo "Your mail has been sent"; else echo "There is some error"; ?> when I execute this, the output is There

[PHP-INSTALL] Problem with Mail() function

2004-11-29 Thread chandrika raju
  Hello Everybody,     When I try to use mail() function it is not working. This is my program: $to="[EMAIL PROTECTED]"; $from="[EMAIL PROTECTED]"; $message="Hai\nHow r u?"; $subject="Hello"; $success=mail($to, $subject, $message, "From:$from"); if ($success) echo "Your mail has been sent";