Guest User

Untitled

a guest
Apr 16th, 2018
1,039
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. $mail->IsSMTP(); // send via SMTP
  2. $mail->Host = "my.host.com"; // SMTP servers
  3. $mail->SMTPAuth = true; // turn on SMTP authentication
  4. $mail->Username = "my@email.com"; // SMTP username
  5. $mail->Password = "thepassword"; // SMTP password
  6. $mail->Subject = "my subject";
  7. $mail->Body = "oh yeah, its email";
  8. $mail->Send();
Add Comment
Please, Sign In to add comment