Getting the error "SMTP Error: Could not connect to SMTP host"
This error just STARTED happening suddenly. It does not occur when customer places orders, or when using the contact us form. This ONLY occurs when updating orders in the admin and sending out the order status updates. Not even sure where to begin to troubleshoot this..
Some info:
PHP Version: 5.4.38
Email settings:
E-Mail Transport Method: SMTPAUTH
E-Mail Linefeeds
Current Value: LF
Use MIME HTML When Sending Emails
Current Value: true
Email Archiving Active?
Current Value: true
E-Mail Friendly-Errors
Current Value: true
Emails must send from known domain?
Current Value: Yes
Re: Getting the error "SMTP Error: Could not connect to SMTP host"
So I talking to myself here.. Still hoping to get some insight as to how to resolve this..:smile: I switched the SMTP credentials to use Mailgun for SMTP authentication. This yields the SAME result.. Store-side emails go out just fine (Contact Us form, order confirmation emails) But ANY emails send from the admin (order confirmations in particular) leads to the following SMTP error.
Quote:
ERROR: Failed sending email to: "Jessica Rabbit" with subject: "Order Update #84755" SMTP Error: The following recipients failed: ###### @ hotmail.com
Let me repeat.. Order confirmations are going out just fine. The contact us form works fine. But order status updates are not sending emails and the above error is what I get.
.
Re: Getting the error "SMTP Error: Could not connect to SMTP host"
Was the site's PHP version recently changed?
Does the site use Edit Orders? If so, does the same behavior (error sending email) occur whether you change the order's status using the "normal" orders handling and when you change the status using Edit Orders?
Does the same email error occur when you use the Tools->Send Email page?
Re: Getting the error "SMTP Error: Could not connect to SMTP host"
Quote:
Originally Posted by
lat9
Was the site's PHP version recently changed?
Does the site use Edit Orders? If so, does the same behavior (error sending email) occur whether you change the order's status using the "normal" orders handling and when you change the status using Edit Orders?
Does the same email error occur when you use the Tools->Send Email page?
To my knowledge, the PHP version did not recently change, but i will have to check with the hosting company..
The site uses Edit Orders, but he rarely uses the module for order editing these days.. This behavior happens using the normal order handling.. yes same issue when using Tools->Send Email page.
Re: Getting the error "SMTP Error: Could not connect to SMTP host"
A shot in the dark, but have you recently checked the site's security protocols (like with https://www.ssllabs.com/ssltest/index.html)? For that matter, is the admin running in SSL-mode?
I'm having a hard time explaining to myself that the storefront sends emails just fine, but that there are issues in the admin since both parts of the site use the same email settings and modules.
Re: Getting the error "SMTP Error: Could not connect to SMTP host"
Quote:
Originally Posted by
DivaVocals
But ANY emails send from the admin (order confirmations in particular) leads to the following SMTP error.
The following recipients failed: ###### @ hotmail.com
Clutching at straws, but do you have the same problem sending these emails to clients that are not using hotmail?
Perhaps hotmail has some security settings that are being triggered with these particular emails?
Cheers
RodG
Re: Getting the error "SMTP Error: Could not connect to SMTP host"
on the admin side, there is a script called:
mail.php
have you tried using that script as a test to see if you can email anything from the admin side?
have you verified (as rod suggested) that it's happening for all domains? or only some select domains?
good luck!
Re: Getting the error "SMTP Error: Could not connect to SMTP host"
Quote:
Originally Posted by
carlwhat
on the admin side, there is a script called:
mail.php
have you tried using that script as a test to see if you can email anything from the admin side?
have you verified (as rod suggested) that it's happening for all domains? or only some select domains?
good luck!
That /admin/mail.php file is the same "Tools->Send Email page" thing discussed earlier.
Re: Getting the error "SMTP Error: Could not connect to SMTP host"
Quote:
Originally Posted by
DivaVocals
Quote:
ERROR: Failed sending email to: "Jessica Rabbit" with subject: "Order Update #84755" SMTP Error: The following recipients failed: ###### @ hotmail.com
Let me repeat.. Order confirmations are going out just fine. The contact us form works fine. But order status updates are not sending emails and the above error is what I get.
The error you quoted shows as being the one sent to the customer. But the Admin for order-updates also immediately sends an email to the storeowner too (immediately after sending one to the customer). Does that one arrive properly? (Or have you turned that feature off?)
It's definitely peculiar (and very hard to explain why) that only the admin-side is failing, considering that both the admin and non-admin use the exact same infrastructure for sending emails.