isSMTP(); $userMail->Host = 'smtp.gmail.com'; $userMail->SMTPAuth = true; $userMail->Username = 'noreply.nclex.email@gmail.com'; $userMail->Password = 'gmbe nypd ofcl vpmi'; $userMail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; $userMail->Port = 587; // User Email Configuration $userMail->setFrom('noreply.nclex.email@gmail.com', 'NCLEX Support'); $userMail->addAddress($user_email); $userMail->isHTML(true); $userMail->Subject = "Thank you for contacting NCLEX Support"; // Embed logo $userMail->addEmbeddedImage('img/logo/logo-trans.png', 'logo_cid'); // User Email Template $userMail->Body = <<
Thank you for contacting us, $name!
We've successfully received your message and our team will get back to you within 24-48 hours.
Your email address ($user_email) is safe with us. We never share your information with third parties.
Action required: Please respond to the user inquiry