?php include "class.phpmailer.php"; $recever="info@securesash.co.uk"; $from_user="From : $_POST[email]"; $subject="Secure Sash"; $body = " "; $mail = new PHPMailer; $mail->FromName =$from_user; $mail->From =$recever; $mail->Subject = $subject; //Change The subject over here $mail->Body = stripslashes($body); $Mail->AltBody = "Alternate text"; $mail->IsHTML(true); $mail->AddAddress($recever,$from_user); //$mail1->AddAddress('invenover@gmail.com'); @$mail->Send(); header("location:thanks.php"); ?>
Quote Information
Name : $_POST[name]
Phone : $_POST[phone]
Email : $_POST[email]
Job Description : $_POST[job]