Advertisement
Guest User

Untitled

a guest
Feb 25th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. $mail = new phpmailer();
  2. $mail->SMTPDebug = 1;
  3. $mail->IsSMTP(); // telling the class to use SMTP
  4. $mail->Host = "mail.***.************.com"; // SMTP server
  5. $mail->Port = "25";
  6. $mail->SMTPAuth = true; //we need to autenticate to the server
  7. //$mail->SMTPSecure = "ssl"; //we use ssl to protected the flow of info
  8. $mail->Username = "noreply+*****.com"; //account
  9. $mail->Password = "********"; //password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement