Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require 'http://insidetv.net.br/PHPMailer/class.phpmailer.php';
- $email = new PHPMailer();
- $email -> IsSMTP();
- $email -> Mailer = 'smtp';
- $email -> SMTPAuth = true;
- $email -> Host = 'smtp.gmail.com';
- $email -> Port = 465;
- $email -> SMTPSecure = 'ssl';
- $email -> CharSet = 'UTF-8';
- $email -> Username = "insidetvoficial@gmail.com";
- $email -> Password = "********";
- $email -> IsHTML(true);
- $email -> SingleTo = true;
- $email -> From = "insidetvoficial@gmail.com";
- $email -> FromName = "InsideTv";
- $email -> addAddress("email@hotmail.com");
- $email -> Subject = "teste";
- $email -> Body = "teste";
- $email -> send();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement