Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PHP Warning: Creating default object from empty value in ... on line 60
- $mail->SMTPAuth = true;
- $url = Ruta::ctrRoute();
- $mail = new PHPMailerPHPMailerPHPMailer();
- $mail->CharSet = 'UTF-8';
- $mail->isSMTP();
- $mail->SMTPDebug = 2;
- $mail->SMTPAuth = true;
- $mail->SMTPSecure = "ssl";
- $mail->Host = "smtp.gmail.com";
- $mail->Port = 465;
- $mail->IsHTML(true);
- $mail->Username = "@gmail.com";
- $mail->Password = "pass";
- $mail -> setFrom('mail_From', 'name_From');
- $mail -> addReplyTo('mail_To', 'name_From');
- $mail->Subject = "Verification";
- $mail -> addAddress($_POST["regEmail"]);
- $mail -> msgHTML('')
Add Comment
Please, Sign In to add comment