• Resolved Joel Scott

    (@denvergeo)


    Some emails (5%-15%) of 700 Notifications receive the following error:
    cURL error 6: Could not resolve host: gmail.googleapis.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

    Note, if the cURL library was bad wouldn’t all emails fail? Bluehost and wp mail smtp both ask if there is something in the Notifications plugin that could be causing the problem. Could the plugin be sending emails faster than the system can handle?

    Can you contact me by email so we can share more information?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    Hi Joel,

    700 Notifications receive the following error

    You’re probably hitting the Google limits, which are 500 emails in a day. See this guide: https://support.google.com/mail/answer/22839?hl=en#zippy=%2Cyou-have-reached-a-limit-for-sending-mail

    I’d suggest switching to another email provider which has higher limits. And if you’re sensing these 700 emails at once, SMTP is not a good solution, because each email has to open a separate connection. If that’s the case I’d suggest switching to SendGrid or Mailgun and user their API instead of SMTP.

    Thread Starter Joel Scott

    (@denvergeo)

    I have checked with Google support, and they confirmed that I am not hitting any limits. I have workspace account access to support. I also checked the metrics on google and I did not receive the warning email google says I should receive. I am using the API access built in WP Mail SMTP

    I know there are many commercial services that would make this easier, but I am trying to stay as light as possible on services. PHP and WordPress versions are both in line with stated compatibility.

    Please consider other possible issues.

    Plugin Author Kuba Mikita

    (@kubitomakita)

    I see, thanks for coming back to me with more details!

    Our plugin only uses the wp_mail() function, we’re not establishing any connection on our own. So whatever is in control of the email submission is handling all the traffic.

    I think you should reach out to WP Mail SMTP support in this case.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘cURL Error 6’ is closed to new replies.