· 8 years ago · Jul 25, 2018, 06:08 AM
1PHP 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('')