Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $mail = new phpmailer();
- $mail->SMTPDebug = 1;
- $mail->IsSMTP(); // telling the class to use SMTP
- $mail->Host = "mail.***.************.com"; // SMTP server
- $mail->Port = "25";
- $mail->SMTPAuth = true; //we need to autenticate to the server
- //$mail->SMTPSecure = "ssl"; //we use ssl to protected the flow of info
- $mail->Username = "noreply+*****.com"; //account
- $mail->Password = "********"; //password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement