Is the Php mail function still working with free accounts as I am unable to get my script to run properly.
If it is still available to use with the free hosting would some one please offer me some help, this would be greatly appreciated. thank you.
Is the Php mail function still working with free accounts as I am unable to get my script to run properly.
If it is still available to use with the free hosting would some one please offer me some help, this would be greatly appreciated. thank you.
Last edited by leigh_rendle38; 05-09-2011 at 05:56 PM.
Please will some one tell me why this is not working on this server ?
<?php
$to = "leigh_rendle@blueyonder.co.uk";
$subject = "Web Contact";
$email = $_REQUEST['Email'] ;
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: $email";
$message = $_REQUEST['Enqiury'] ;
$sex = $_REQUEST['Sex'] ;
$firstname = $_REQUEST['Firstname'] ;
$Surname = $_REQUEST['Surname'] ;
$country = $_REQUEST['Country'] ;
$type = $_REQUEST['Type'] ;
$body ="
From:$sex $firstname $Surname \r
Email: $email \r
Country: $country \r
Your Enqiury: $type \r
Message: $message \n
" ;
$sent = mail($to, $subject, $body, $headers) ;
if($sent)
echo
Do this or that
Thank you
Last edited by leigh_rendle38; 05-10-2011 at 01:23 PM.