|
|
|
| Speaking| Speaking Request |
| |
Name:";
$fields{"email"} = "The e-mail";
$mailid=$fields{"email"};
$header="From:$mailid";
$fields{"telephone"} = "Telephone";
$fields{"city_state"} = "City/State provided";
$fields{"organization"} = "Organization Name";
$fields{"event_date"} = "Event date entered";
$fields{"event_time"} = "Event time mentioned";
$fields{"location"} = "Location provided";
$fields{"audience"} = "Audience";
$fields{"attendees"} = "Attendees";
$fields{"topics"} = "Topics";
$fields{"comments"} = "Comments noted";
$message = "We have received the following information:\n\n"; foreach($fields as $a => $b){ $message .= sprintf("s: %s\n",$b,$_REQUEST[$a]." "); }
$sentmail=mail($to,$subject,$message,$header);
echo $message;
if($sentmail)
{
echo "Your request Has Been Sent To Your Email Address.";
}
else
{
//redirect('signUp.php?error=1');
echo "Cannot send Confirmation link to your e-mail address";
}
}
/*catch (Exception $e)
{
//echo "Error: ".$e->getMessage();
exit(1);
}*/
?>
|
|
|
|
| |
|