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
Byron Posted April 25, 2014 Posted April 25, 2014 The php mail functions works without you modifying anything.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now