Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include("PHPMailer/class.phpmailer.php");
- require('phpmailer/PHPMailerAutoload.php');
- $mail = new PHPMailer();
- $mail->IsSMTP();
- $mail->SMTPDebug = 1;
- $mail->SMTPAuth = true;
- $mail -> SMTPSecure = "ssl";
- $mail->Host = "smtp.gmail.com";
- $mail->Port = 587;
- $mail->Username = 'emailusado@gmail.com';
- $mail->Password = 'senhadoemail';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement