Guest User

Untitled

a guest
Jul 24th, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. /* change all $mail->IsMail(); to $mail->IsSMTP(); */
  2.  
  3. $mail->IsSMTP();
  4. $mail->From = $from;
  5. $mail->FromName = $fromname;
  6. $mail->Subject = $subject;
  7.  
  8.  
  9. /* Following can be specified but not necessary
  10. $mail->Host = "smtp.gmail.com";
  11. $mail->SMTPAuth = true;
  12. $mail->SMTPSecure= "ssl";
  13. $mail->Port = 587;
  14. $mail->Username = "something@somedomain.com";
  15. $mail->Password = "abc";
  16. */
Add Comment
Please, Sign In to add comment