Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (...)
- $mail = new PHPMailer;
- $mail->isSMTP();
- $mail->Host = 'smtp.gmail.com';
- $mail->Port = 587;
- $mail->SMTPSecure = 'tls';
- $mail->SMTPAuth = true;
- $mail->Username = mailAccount;
- $mail->Password = mailPassword;
- $mail->addAddress($email);
- $mail->Subject = $_POST["subject"];
- $mail->msgHTML("Vous avez un nouveau message dans la messagierie interne de Read-it !");
- $mail->send();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement