Jump to content

matthewc

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by matthewc

  1. Hello,

     

    I have the simple PHP mail command of (for testing), to send out an email:

     

    echo "<body>";

    $to = "mail@mail.com";

    $subject = "This is subject";

    $message = "This is simple text message.";

    $header = "From:mail@gmail.com \r\n";

    $retval = mail ($to,$subject,$message,$header);

    if( $retval == true )

    {

    echo "Message sent successfully...";

    }

    else

    {

    echo "Message could not be sent...";

    }

     

    When I run it on here it says "Successful". I realise that I must change [mail] section in the PHP.ini file to make this work? Does anyone know how to do this? Or can I run the mail() from heliohost?

     

    Thanks

     

    Matthew

×
×
  • Create New...