Advertisement
Guest User

Untitled

a guest
Apr 7th, 2017
1,088
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. if(!function_exists('phpmailer_smtp')){
  2. add_action( 'phpmailer_init', 'phpmailer_smtp' );
  3. function phpmailer_smtp( $phpmailer ) {
  4.  
  5. $phpmailer->isSMTP();
  6. $phpmailer->Host = 'xxxx';
  7. $phpmailer->SMTPAuth = true; // Force it to use Username and Password to authenticate
  8. $phpmailer->Username = 'xxxx';
  9. $phpmailer->Password = 'xxxx';
  10. $phpmailer->Port = 25;
  11. $phpmailer->SMTPDebug = 2;
  12. $phpmailer->setFrom('admin@xxxx.com','xxxx');
  13. }
  14. }
  15.  
  16. 2017-04-07 15:22:59 SERVER -> CLIENT: 220 ************************************************************************************************
  17. 2017-04-07 15:22:59 CLIENT -> SERVER: EHLO www.xxxx.com
  18. 2017-04-07 15:22:59 SERVER -> CLIENT: 250-SKYEX02.xxxx.montreal Hello [199.115.127.83]
  19. 250-SIZE 37748736
  20. 250-PIPELINING
  21. 250-DSN
  22. 250-ENHANCEDSTATUSCODES
  23. 250-XXXXXXXA
  24. 250-XXXXXXXXXXXXXB
  25. 250-AUTH NTLM
  26. 250-XXXXXXXXXXXXXXXXXC
  27. 250-8BITMIME
  28. 250-BINARYMIME
  29. 250-XXXXXXXD
  30. 250 XXXXE
  31. 2017-04-07 15:22:59 SMTP Error: Could not authenticate.
  32. 2017-04-07 15:22:59 CLIENT -> SERVER: QUIT
  33. 2017-04-07 15:22:59 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel
  34. 2017-04-07 15:22:59 SMTP Error: Could not authenticate.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement