Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $mail = new PHPMailer();
- $mail->From = 'noreply@gruppogioca.it;
- $mail->FromName = 'gioca';
- $mail->Host = 'smtp.gmail.com';
- $mail->Mailer="smtp";
- //$mail->SMTPDebug = 2;
- $mail->IsSMTP();
- $mail->Port = 465;
- $mail->SMTPAuth = true;
- $mail->Password = 'password di gioca';
- $mail->Username = 'username@gruppogioca.it';
- $mail->IsHTML(true);
- $mail->Subject ="";
- $mail->AddAddress($email);
- $text=" ";
- $mail->Body = $text;
- $mail->Send();
- $this->MailSend->Value = 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement