"; //$msg = "We have also stored a copy in our database for latter access if necessary. \n\n"; foreach($_GET as $tmpname => $tmpvalue) { if(strcmp($tmpname,"PID") && strcmp($tmpname,"CompanyID") && strcmp($tmpname,"IsData")){ $msg .= "".$tmpname.": \t".trim($tmpvalue)."

"; } } $recipient = ""; // set up mail class $mail = new PHPMailer(); $mail->IsSMTP(); // send via SMTP $mail->Host = "mail.megagate.com"; // example .... smtpout.secureserver.net"; // SMTP servers $mail->SMTPAuth = false; // turn on SMTP authentication $mail->Username = ""; // SMTP username $mail->Password = ""; // SMTP password $mail->From = "webform@wilsonattorney.com"; $mail->FromName = "Criminal Defense"; $mail->AddAddress("lawfirm@wilsonattorney.com","Claims"); $mail->WordWrap = 50; // set word wrap $mail->IsHTML(true); // send as HTML $mail->Subject = "Data Submitted to Wilson Law Firm"; $mail->Body = $msg; $mail->AltBody = "This is data submitted from the website"; $mail->Send(); echo("sent email"); } } ?>
Thank you for completing this brief information form.

When we receive your information we will review it and contact you as soon as possible.
Criminal Defense Form
Full Name
Mailing Address
Telephone Number
Alternate Number
What is your Age?
What have you been charged with?
Have you ever been charged with a felony?
What county were you arrested in?
What agency arrested you?
Do you have a court date?
If yes, when?
E-Mail address