Mailinglist Archive: opensuse (3964 mails)

< Previous Next >
Apache PHP and no email
  • From: "Warren Mason" <Warren.Mason@xxxxxxxxxxxxxxxx>
  • Date: Mon, 01 Nov 2004 11:59:36 +1100
  • Message-id: <s186253e.099@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
I have a standard installation of 9.1 and I am attempting to get a web
page to send mail. I have tried varions scripts (all of them work on a
redhat server) but they all stop at the same point and don't send any
mail.

If I do somthing simple such as

<?php
mail("me@xxxxxxxxxxxxxxxxxxxx","test message","This is a test");
?>

The error is

Fatal error: Call to undefined function: mail() in
/srv/www/htdocs/test/mailtest.php on line 2

Can anyone tell me why the mail() function is missing or how to get it
working? I thought is was a core component of PHP.

thanks in advance

Warren

-----------------------------------------------------
This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient, please
delete it and notify the sender. Views expressed in this message are
those of the individual sender and are not necessarily the views of the
Mid Western Area Health Service.
-----------------------------------------------------
<<<<gwavasig>>>>

< Previous Next >
Follow Ups