Thanks for contact us.
We have received your message and would like to thank you for writing to us.
We will reply by email as soon as possible.
Sincerely,
Autocare Shield
We just got your submission, We'll analyze your information and come back to you shortly.
Thank you...
"; } $mail2 = new PHPMailer(true); // Server settings //$mail2->SMTPDebug = SMTP::DEBUG_SERVER; // for detailed debug output $mail2->isSMTP(); $mail2->Host = 'smtp.gmail.com'; $mail2->SMTPAuth = true; $mail2->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; $mail2->Port = 587; $mail2->Username = 'contact@autocareshield.com'; // YOUR gmail email $mail2->Password = 'mtzeectnzggmyiop'; // YOUR gmail password // Sender and recipient settings $mail2->setFrom('contact@autocareshield.com', 'Autocare Shield'); $mail2->addAddress('contact@autocareshield.com', 'Autocare Shield'); //$mail->addReplyTo('contact@autocareshield.com', 'Autocare Shield'); // to set the reply to // Setting the email content $mail2->IsHTML(true); $mail2->Subject = "Contact Details"; $mail2->Body = "Following user has been submitted contact details on your website