[SLE] Apache PHP and no email

From: Warren Mason (Warren.Mason_at_mwahs.nsw.gov.au)
Date: 11/01/04

  • Next message: Paul Cartwright: "Re: [SLE] Epson 4180 USB scanner"
    Date: Mon, 01 Nov 2004 11:59:36 +1100
    To: <suse-linux-e@suse.com>
    
    

    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@my-real-email.com.au","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>>>>

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Paul Cartwright: "Re: [SLE] Epson 4180 USB scanner"

    Relevant Pages

    • Re: Session_start not working
      ... Fatal error: Call to undefined function: session_startin ... You can get Apache plus PHP running in a normal user account. ... tell me where the PREFIX/tmp folder is? ...
      (alt.php)
    • Opening a webpage from a window form without showing the URL to the User
      ... "This electronic communication and any accompanying document are intended ... confidential and/or privileged information. ... received this communication in error and/or are not the intended recipient, ... this message are those of the individual sender." ...
      (microsoft.public.dotnet.framework.aspnet)
    • Disabling Unnecessary Services from inetd.conf File
      ... If you are not the intended recipient ... are those of the individual sender and may not necessarily reflect ...
      (Focus-SUN)
    • any tool which can tell the load of each database running on a SQL
      ... "This electronic communication and any accompanying document are intended ... confidential and/or privileged information. ... received this communication in error and/or are not the intended recipient, ... this message are those of the individual sender." ...
      (microsoft.public.sqlserver.tools)
    • Rich Text Editor Control for Desktop application
      ... "This electronic communication and any accompanying document are intended ... confidential and/or privileged information. ... received this communication in error and/or are not the intended recipient, ... this message are those of the individual sender." ...
      (microsoft.public.dotnet.framework.aspnet)