Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Server settings
- $mail->SMTPDebug = 0; // Enable verbose debug output
- $mail->isSMTP(); // Set mailer to use SMTP
- $mail->Host = 'smtp.gmail.com'; // Specify main and backup SMTP servers
- $mail->SMTPAuth = true; // Enable SMTP authentication
- $mail->CharSeT = 'UTF-8';
- $mail->Username = 'elcallejondelagata@gmail.com'; // SMTP username
- $mail->Password = ''; // SMTP password
- $mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted
- $mail->Port = 587;
Add Comment
Please, Sign In to add comment