Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- define('MAIL_HOST','xxxxx');
- define('MAIL_USER','xxxxx');
- define('MAIL_PASS','xxxxx');
- define('MAIL_FROM','xxxxx');
- define('MAIL_NAME','xxxxx');
- $mail = new PHPMailer();
- $mail->SetLanguage("br", "smtp/"); //Idioma
- $mail->IsSMTP();
- $mail->SMTPDebug = 2;
- $mail->SMTPAuth = true;
- $mail->Host = MAIL_HOST;
- $mail->Username = MAIL_USER;
- $mail->Password = MAIL_PASS;
- $mail->From = MAIL_FROM;
- $mail->FromName = MAIL_NAME;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement