• Resolved ryanjf

    (@ryanjf)


    I set up the plugin w/ Gmail and Gsuite as instructed.

    Test failed. Debug log follows.

    Versions:
    WordPress: 5.4.1
    WordPress MS: No
    PHP: 7.2.24-0ubuntu0.18.04.4
    WP Mail SMTP: 2.0.1
    
    Params:
    Mailer: gmail
    Constants: No
    Client ID/Secret: Yes
    Auth Code: Yes
    Access Token: Yes
    
    Server:
    OpenSSL: OpenSSL 1.1.1 11 Sep 2018
    PHP.allow_url_fopen: Yes
    PHP.stream_socket_client(): Yes
    PHP.fsockopen(): Yes
    PHP.curl_version(): 7.58.0
    Apache.mod_security: No
    
    Debug:
    Mailer: Gmail
    {
    "error": {
    "code": 403,
    "message": "The request was blocked. Quota configuration not found for the requesting project.",
    "errors": [
    {
    "message": "The request was blocked. Quota configuration not found for the requesting project.",
    "domain": "global",
    "reason": "forbidden"
    }
    ],
    "status": "PERMISSION_DENIED"
    }
    }

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Test mail failed

    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    System Configuration
    Required :Present
    PHP version: 7.4
    DOMDocument extension :Yes :20031129
    MBString extension :Yes :7.4.4
    GD :Yes :7.4.4
    Zlib :To compress PDF documents :7.4.4
    opcache :For better performances :Zend OPCache 7.4.4
    GMagick or IMagick :Better with transparent PNG images :IMagick 3.4.4
    glob() :Required to detect custom templates and to clear the temp folder periodically :Yes
    WP Memory Limit :Recommended: 128MB (more for plugin-heavy setups)
    See: Increasing the WordPress Memory Limit :WordPress: 256M, PHP: 512M
    allow_url_fopen :Allow remote stylesheets and images :Yes

    • This reply was modified 4 years, 10 months ago by goldenfish125.

    Hi @ryanjf – It looks like the google APP you’ve created doesn’t have access to Gmail API. Please make sure the account you’re trying to authorize have access to the APP you’ve created and it has Gmail API enabled.

    @goldenfish125 – It looks like you’re not using Gmail. Please do not post on an unrelated thread, instead create a new support post and share the full error details after sending a test email. Here’s a screenshot to get full error details.

    Thanks!

    Thread Starter ryanjf

    (@ryanjf)

    @sanzeeb3
    Thank you.

    I followed all of the steps but apparently there’s a step I missed which is to find the Gmail app specific settings and enable it there as well.

    @sanzeeb3
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    few days ago this plugin work fine with 465 port but now not work and i set it to 587 and TLS SMTP secure and it work

    Hi @goldenfish125 – The connection on that port might have been blocked by your hosting provider. I’m going to go ahead and mark this ticket resolved. If you still have questions, please create a new support post and share the full error details after sending a test email.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘GMAIL SMTP Not Working’ is closed to new replies.