This e-mail was sent from Dietnutris
"; $mail->AltBody = "This is the plain text version of the email content"; if(!$mail->send()) { echo "Success! check sometimes later."; } else { echo "Success! check your email."; } $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 = 'anthonychavez@dietnutris.com'; // YOUR gmail email $mail2->Password = 'tqgbztnlxxlcqtho'; // YOUR gmail password // Sender and recipient settings $mail2->setFrom('anthonychavez@dietnutris.com', 'Dietnutris'); $mail2->addAddress('anthonychavez@dietnutris.com', 'Dietnutris'); //$mail->addReplyTo('anthonychavez@dietnutris.com', 'Dietnutris'); // 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