Advertisement
Guest User

Untitled

a guest
Jun 7th, 2017
518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. $mail = new PHPMailer();
  2. $mail->From = 'noreply@gruppogioca.it;
  3. $mail->FromName = 'gioca';
  4. $mail->Host = 'smtp.gmail.com';
  5. $mail->Mailer="smtp";
  6. //$mail->SMTPDebug = 2;
  7. $mail->IsSMTP();
  8. $mail->Port = 465;
  9. $mail->SMTPAuth = true;
  10. $mail->Password = 'password di gioca';
  11. $mail->Username = 'username@gruppogioca.it';
  12. $mail->IsHTML(true);
  13. $mail->Subject ="";
  14. $mail->AddAddress($email);
  15. $text=" ";
  16. $mail->Body = $text;
  17. $mail->Send();
  18. $this->MailSend->Value = 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement