Guest User

Untitled

a guest
Jul 25th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. PHP Warning: Creating default object from empty value in ... on line 60
  2.  
  3. $mail­->SMTPAuth = true;
  4.  
  5. $url = Ruta::ctrRoute();
  6.  
  7. $mail = new PHPMailerPHPMailerPHPMailer();
  8.  
  9. $mail->CharSet = 'UTF-8';
  10.  
  11. $mail->isSMTP();
  12.  
  13. $mail->SMTPDebug = 2;
  14.  
  15. $mail­->SMTPAuth = true;
  16.  
  17. $mail­->SMTPSecure = "ssl";
  18.  
  19. $mail­->Host = "smtp.gmail.com";
  20.  
  21. $mail­->Port = 465;
  22.  
  23. $mail->IsHTML(true);
  24.  
  25. $mail­->Username = "@gmail.com";
  26.  
  27. $mail­->Password = "pass";
  28.  
  29. $mail -> setFrom('mail_From', 'name_From');
  30.  
  31. $mail -> addReplyTo('mail_To', 'name_From');
  32.  
  33. $mail->Subject = "Verification";
  34.  
  35. $mail -> addAddress($_POST["regEmail"]);
  36.  
  37. $mail -> msgHTML('')
Add Comment
Please, Sign In to add comment