Email Errors - AC not sending ANY emails
- hassonmike
- Lieutenant (LT)
- Posts: 76
- Joined: Tue Apr 19, 2011 2:13 pm
- Contact:
Email Errors - AC not sending ANY emails
I happened to browse into the error log and notice a bunch of messages like these "
8/8/2011 5:37:18 PM Warn Error sending email with subject 'Confirmation - Order Number 9433'. Failure sending mail.; Unable to read data from the transport connection: net_io_connectionclosed.
8/8/2011 4:54:28 PM Warn Error sending email with subject 'Customer added a note to Order Number 9191'. Failure sending mail.; Unable to read data from the transport connection: net_io_connectionclosed.
There is one for every email that should have been sent out since monday morning. No changes have been made that I am aware of. Is this is a server issue? What can I do about this?
8/8/2011 5:37:18 PM Warn Error sending email with subject 'Confirmation - Order Number 9433'. Failure sending mail.; Unable to read data from the transport connection: net_io_connectionclosed.
8/8/2011 4:54:28 PM Warn Error sending email with subject 'Customer added a note to Order Number 9191'. Failure sending mail.; Unable to read data from the transport connection: net_io_connectionclosed.
There is one for every email that should have been sent out since monday morning. No changes have been made that I am aware of. Is this is a server issue? What can I do about this?
Re: Email Errors - AC not sending ANY emails
Hello,
If the email has been working up until now, then it's likely an issue with your email server. This is a communication issue. Have you gone into the email config area and tried using the Test Email feature? This might help narrow down the issue so you know if it is completely failing, or if it is working sometimes with error.
If you search at google, you will likely find the answer for this issue. Here is one example -
http://forums.asp.net/t/924682.aspx/1/1 ... tionclosed
From this discussion, there were a couple possible solutions to try. From my experience, I would look at the email server and see if something was changed recently.
Good Luck,
Katie
If the email has been working up until now, then it's likely an issue with your email server. This is a communication issue. Have you gone into the email config area and tried using the Test Email feature? This might help narrow down the issue so you know if it is completely failing, or if it is working sometimes with error.
If you search at google, you will likely find the answer for this issue. Here is one example -
http://forums.asp.net/t/924682.aspx/1/1 ... tionclosed
From this discussion, there were a couple possible solutions to try. From my experience, I would look at the email server and see if something was changed recently.
Good Luck,
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
- hassonmike
- Lieutenant (LT)
- Posts: 76
- Joined: Tue Apr 19, 2011 2:13 pm
- Contact:
Re: Email Errors - AC not sending ANY emails
Thank you for your response. The mail server was the first thing I checked, and nothing has changed, the email account being used is fully able to send and receive emails on its own, and the credentials used in AC have been checked and rechecked.
I have searched the web, but most of the information (including the link you gave) refers to manually configuring the mail server, but because ours is hosted, I don't think that most of that applies/I am not sure how to apply it.
Could the web UI not be interfacing properly with the config? Could AC be blocking this somehow? All connections seem good to/from my mail server, so Im not sure what/where else to look.
I have searched the web, but most of the information (including the link you gave) refers to manually configuring the mail server, but because ours is hosted, I don't think that most of that applies/I am not sure how to apply it.
Could the web UI not be interfacing properly with the config? Could AC be blocking this somehow? All connections seem good to/from my mail server, so Im not sure what/where else to look.
Re: Email Errors - AC not sending ANY emails
What this error means is that System.net.mail was unable to find the smtp server.
To resolve the issue, check that the SMTP Server Host in AbleCommerce control panel settings resolves to the correct smtp server IP. You can also try to replace the smtp host name
with the actual smtp server IP and see if it still throws the same exception.
To resolve the issue, check that the SMTP Server Host in AbleCommerce control panel settings resolves to the correct smtp server IP. You can also try to replace the smtp host name
with the actual smtp server IP and see if it still throws the same exception.
Mike Kolev
- hassonmike
- Lieutenant (LT)
- Posts: 76
- Joined: Tue Apr 19, 2011 2:13 pm
- Contact:
Re: Email Errors - AC not sending ANY emails
Thanks for the suggestion - I used the SMTP server host IP address in AC but it does still give the same error. I have also verified the IP resolves by using it through a web browser to access the mail server.
Re: Email Errors - AC not sending ANY emails
Something had to have changed prior to last Monday. You just need to do some detective work and figure out what it was...does the email server require authentication, and if so, have the username & password changed? Does the server require SSL, and if so, are the certificate and the root authority certificates all updated? I guess these would be questions to ask your host.
When you swapped out the host name with the IP, the test of the email server is part of that function. In AC, if there were no connection, it would have failed and a red text message would have appeared on the page. Do you see the "SAVE & TEST CONFIG" button? The program won't accept the values entered unless they are actually working. Did you get a different message here? You should have.
Thanks,
Katie
When you swapped out the host name with the IP, the test of the email server is part of that function. In AC, if there were no connection, it would have failed and a red text message would have appeared on the page. Do you see the "SAVE & TEST CONFIG" button? The program won't accept the values entered unless they are actually working. Did you get a different message here? You should have.
Thanks,
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
- hassonmike
- Lieutenant (LT)
- Posts: 76
- Joined: Tue Apr 19, 2011 2:13 pm
- Contact:
Re: Email Errors - AC not sending ANY emails
I find these out from the host - in the meantime, D do not get any red text when saving and testing, as you are suggest, instead, I get green text saying "Server configuration was updated but the test resulted in error: Failure sending mail."
- hassonmike
- Lieutenant (LT)
- Posts: 76
- Joined: Tue Apr 19, 2011 2:13 pm
- Contact:
Re: Email Errors - AC not sending ANY emails
Though it seems that no chnages have been made to the mail server, switching to a diffrent mail server seems to have resolved the issue. Thank you all for your help.
Re: Email Errors - AC not sending ANY emails
Thanks for letting us know. I'm glad it's working for you now...
I did some more digging and wondered if it could have been a permissions issue. This is copied from another forum, and I thought it might be good info to have here as well....just in case this was the issue.
Thanks,
Katie
I did some more digging and wondered if it could have been a permissions issue. This is copied from another forum, and I thought it might be good info to have here as well....just in case this was the issue.
No need to respond. I just wanted to post this since we're seeing a lot of migrations from Windows 2000 to Windows 2008.The problem turned out to be a permissions issue. I'm in the process of porting websites from a Windows 2000 box to a Windows 2008 platform and I missed a trick on the SMTP service config in Windows 2008.
Go to Internet Information Services (IIS) 6.0 Manager > SMTP Virtual Server > Right-click Properties > Access tab > Authentication button.
By default in Windows 2000, all the boxes are ticked (checked), but in Windows 2003 and Windows 2008 only Anonymous access is ticked. You have to select Integrated Windows Authentication to be able to send email over the network (ie not via the pickup directory nor exposing credentials in web.config). I also chose to untick Anonymous access because it seemed like a security hole waiting to be exploited.
You do not need to enable relaying for localhost or the IP address of this host computer. Relaying is usually really bad news, so unless you have strong IT comms skills avoid it like the plague.
This authentication configuration also works with a selected IP address or the All unassigned (see the General tab).
Thanks,
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
- hassonmike
- Lieutenant (LT)
- Posts: 76
- Joined: Tue Apr 19, 2011 2:13 pm
- Contact:
Re: Email Errors - AC not sending ANY emails
Curious, where in the site code do email setting get saved?
Re: Email Errors - AC not sending ANY emails
Emails settings are being stored in ac_StoreSettings table in Database. Using API code you can save a setting like
while you get value by doing something like
Code: Select all
Token.Instance.Store.Settings.SetValueByKey("key","value")
Code: Select all
string value = Token.Instance.Store.Settings.GetValueByKey("key")
Re: Email Errors - AC not sending ANY emails
I am using AC7 and noticed that in the past several months emails the site is tasked with sending are not getting to my customers.
A customer wrote me to tell me that he was trying to retrieve his password and never got an email notification.
Here are some recent entries in the log:
2/17/2015 12:26:13 PM Warn Error sending email with subject 'Password Reset Request at Anklejive'. Mailbox unavailable. The server response was: <z.harper1989@yahoo.com> No such user here
3/25/2015 8:51:40 AM Warn Error sending email with subject 'Confirmation - Order Number 11088'. Mailbox unavailable. The server response was: <katesmom99@cox.net> No such user here
3/25/2015 10:36:40 AM Warn Error sending email with subject 'Your order has shipped from Anklejive'. Mailbox unavailable. The server response was: <katesmom99@cox.net> No such user here
3/25/2015 10:42:55 AM Warn Error sending email with subject 'Anklejive: SMTP Settings Updated'. Mailbox unavailable. The server response was: <kevin@stjohngroup.com> No such user here
All of these email addresses are accurate and confirmed.
I double checked to see if my password was correct and it was.
Any ideas?
Thanks,
Kevin
A customer wrote me to tell me that he was trying to retrieve his password and never got an email notification.
Here are some recent entries in the log:
2/17/2015 12:26:13 PM Warn Error sending email with subject 'Password Reset Request at Anklejive'. Mailbox unavailable. The server response was: <z.harper1989@yahoo.com> No such user here
3/25/2015 8:51:40 AM Warn Error sending email with subject 'Confirmation - Order Number 11088'. Mailbox unavailable. The server response was: <katesmom99@cox.net> No such user here
3/25/2015 10:36:40 AM Warn Error sending email with subject 'Your order has shipped from Anklejive'. Mailbox unavailable. The server response was: <katesmom99@cox.net> No such user here
3/25/2015 10:42:55 AM Warn Error sending email with subject 'Anklejive: SMTP Settings Updated'. Mailbox unavailable. The server response was: <kevin@stjohngroup.com> No such user here
All of these email addresses are accurate and confirmed.
I double checked to see if my password was correct and it was.
Any ideas?
Thanks,
Kevin
Re: Email Errors - AC not sending ANY emails
There must be some issue with you email server configuration. What happens when you use the test feature from the email settings page? Here is a link to the docs if you need to know more -
http://help.ablecommerce.com/mergedProj ... ttings.htm
It's really hard to say what the problem is.
http://help.ablecommerce.com/mergedProj ... ttings.htm
It's really hard to say what the problem is.
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Email Errors - AC not sending ANY emails
Thanks, Katie. I did, and received an email: The SMTP Settings for Anklejive were recently updated. Receipt of this email confirms the new settings are working properly.
Could it be something else?
Could it be something else?
Re: Email Errors - AC not sending ANY emails
The error messages indicate "The server response was: <xxx@xxx> No such user here".
This is a response from the server, not from AbleCommerce. We are just giving you the message as it is given to us. It wouldn't even matter if that email existed within AbleCommerce anywhere. You can send any email to any person who has a valid box.
Have you tried sending an email to any of these addresses outside of AbleCommerce, and also using the FROM address that is used within the AC email templates?
This is a response from the server, not from AbleCommerce. We are just giving you the message as it is given to us. It wouldn't even matter if that email existed within AbleCommerce anywhere. You can send any email to any person who has a valid box.
Have you tried sending an email to any of these addresses outside of AbleCommerce, and also using the FROM address that is used within the AC email templates?
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Email Errors - AC not sending ANY emails
Hi, Katie. All the email addresses are valid. This morning I tried to test it by retrieving my own password using the "Forgot User Name or Password?" link on the login.aspx page.
I checked the error log after having completed the information and I saw this at the top: Failure sending mail.; Unable to read data from the transport connection: net_io_connectionclosed.
Thoughts?
I checked the error log after having completed the information and I saw this at the top: Failure sending mail.; Unable to read data from the transport connection: net_io_connectionclosed.
Thoughts?
Re: Email Errors - AC not sending ANY emails
Hi,
I tried to google the error message, and this page had quite a few possible things to look for.
https://social.msdn.microsoft.com/Forum ... tionclosed
This is really outside of AbleCommerce, so you need to have the person who maintains your email server take a look at this message as well.
Thanks
Katie
I tried to google the error message, and this page had quite a few possible things to look for.
https://social.msdn.microsoft.com/Forum ... tionclosed
This is really outside of AbleCommerce, so you need to have the person who maintains your email server take a look at this message as well.
Thanks
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support