matthewc Posted April 25, 2014 Posted April 25, 2014 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 Quote
Byron Posted April 25, 2014 Posted April 25, 2014 The php mail functions works without you modifying anything. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.