• Resolved aglyons

    (@aglyons)


    I use GSuite to send emails via ‘Other SMTP”. Every time I test the config when I see this message it sends an email just fine. I’ve looked everywhere for some kind of other logs to figure out what the problem is and I can’t find a thing. I have other web apps completely separate from this site and WP MAIL SMTP which connects to the GSuite servers the exact same way using the exact same login details and that never has an issue.

    EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v2.6.0 logged this error during the last time it tried to send an email:

    Mailer: Other SMTP
    SMTP Error: Could not connect to SMTP host.
    Consider running an email test after fixing it.

    iThemes shows some errors sending email notifications out but it looks like it’s trying to send via localhost and shows user_id=> [empty string] in the error log.

    Module Notification Center
    Type Error
    Description Sending Notification Failed
    Notification Grade Report Change
    Error SMTP Error: Could not connect to SMTP host.
    Timestamp 2021-02-26 11:00:04
    Host 127.0.0.1
    User
    URL WP-Cron Scheduled Task

    I can’t be positive that the errors in iThemes are related to the errors shown in WP MAIL SMTP but it is suspect.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Online22

    (@mijnbedrijfonline)

    We see the the same issue after updating to PHP 7.4.15.
    Can you check if you use the same PHP version?

    Thread Starter aglyons

    (@aglyons)

    Yes, I am using PHP 7.4.15.

    But, I’ve been seeing this issue for some time now well before that upgrade.

    Thread Starter aglyons

    (@aglyons)

    Where are the logs for WP MAIL SMTP to help diagnose what is going wrong?

    The iThemes people are asking me for some details to help figure out why emails are failing.

    The 127.0.0.1 is a loopback request, but the above error indicates that for some reason your server has the plugin blocked from accessing wp_mail, which is what sends all site emails via the mailing plugin(s) you are using.

    Can you check the WP Mail SMTP error logs?

    • This reply was modified 3 years, 8 months ago by aglyons.
    Thread Starter aglyons

    (@aglyons)

    So this sucks, pretty much forced to buy into the pro version just to see logs showing errors that I feel are being caused by the plugin itself.

    HI @aglyons,

    Thanks for the details! Could you please let me know if you are facing the same issue when sending a test email from WP Mail SMTP > Email Test? If the issue is specific to the email sent by iTheme, the email is probably sent within the incorrect header format, etc. which the SMTP server does not accept. Could you please let me know the steps to send this email using the iTheme Security free version?

    While the detailed email log is only available with the Pro version of the plugin, any SMTP errors will be displayed when sending a test email. The last email delivery error from your site will also be displayed as the admin notice on the WP Mail SMTP settings page.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Could not connect to SMTP host’ is closed to new replies.