Hi,
I have a problem with this php mailer, I don't receive my emails. I had a previous one where I received my emails but with no content..
Can some one please help.
Thanks....
<?php
include("bookingdone.html");
// Receiving variables
@$pfw_ip= $_SERVER['REMOTE_ADDR'];
@$name = addslashes($_POST['name']);
@$cell = addslashes($_POST['cell']);
@$time = addslashes($_POST['time']);
@$pick1 = addslashes($_POST['pick1']);
@$pick2 = addslashes($_POST['pick2']);
@$pick3 = addslashes($_POST['pick3']);
@$pick4 = addslashes($_POST['pick4']);
@$des1 = addslashes($_POST['des1']);
@$des2 = addslashes($_POST['des2']);
@$des3 = addslashes($_POST['des3']);
@$des4 = addslashes($_POST['des4']);
// Validation
if (strlen($name) == 0 )
{
die("<p align='center'><font face='Arial' size='3' color='#FF0000'>Please enter a valid name</font></p>");
}
if (strlen($cell) !=10)
{
die("<p align='center'><font face='Arial' size='3' color='#FF0000'>Please enter a valid cell phone number</font></p>");
}
//Sending Email to form owner
$pfw_header = "From: Online Booking Form\n";
$pfw_subject = "Online Booking";
$pfw_email_to = "info@yellowcab.co.za";
$pfw_message = "Visitor's IP: $pfw_ip\n"
. "name: $name\n"
. "cell: $cell\n"
. "time: $time\n"
. "pick1: $pick1\n"
. "pick2: $pick2\n"
. "pick3: $pick3\n"
. "pick4: $pick4\n"
. "des1: $des1\n"
. "des2: $des2\n"
. "des3: $des3\n"
. "des4: $des4\n";
mail($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;
?>
That has nothing to do with Adobe Acrobat. Use a forum for php form mailer.