Skip to main content

PHP Mailer with Gmail SMTP works one day and stops the next day

Comments

3 comments

  • cPanelMichael
    However, the next day when I run the same script I got "SMTP connect () failed." error.

    Hello, Is "WHM Home " Security Center " SMTP Restrictions" enabled on this system, or is the "SMTP_BLOCK" option enabled in your CSF configuration (if CSF is installed)? Thank you.
    0
  • Carlo Prati
    I solved using this tips > CSF firewall configuration > smtp setting > whitelist users in variable "SMTP_ALLOWUSER smtp_allowuser : cpanel,myuser ( user is ftp login domain ) Gmail SMTP work fine for me now !
    0
  • cPanelMichael
    Hello, I'm glad to see you were able to solve the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.