Automated emails

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 years ago
Hey guy i have set the store up and everything is working fine but whenever an order is placed it's not sending any email to the customer. If i send a test email it goes through but its not doing any of the automatic emails to keep me and the customers updated with business activity
8 years ago
xavier wrote:
Hey guy i have set the store up and everything is working fine but whenever an order is placed it's not sending any email to the customer. If i send a test email it goes through but its not doing any of the automatic emails to keep me and the customers updated with business activity


Add same email account in NOP and make it default and test it.
8 years ago
Make which email the default....The one that i tested with? because if so i have already done that and still no dice
8 years ago
If i send a test email to someone else it works but sending a email back to the address which it is using as primary doesn't work it says sent but i have been waiting for 6 hrs now and nothing.
8 years ago
Check whether you emails are being generated or not.You can check it in Message Queue.You can find it in Administration->System->Message Queue.If your message is already there, confirm your from and to columns are correct or not. P.S. Messages from message queue are sent after 60s by default schedule task so it may not be available in message queue if you check after 60s of creating an email.
8 years ago
Go to Admin -> System -> Scheduled task

Please check whether "Send emails" schedule task is enabled or not ??

if its not enable please enable it and then don't forget to restart the application

if its enable it should send email regularly if your email account is well setup and if you are able to send the test email.
5 years ago
I am using version 4.0 and have a same problem.

The "Send emails" and "Keep Alive" did not work although i setup the primary email.

I am running the website on a VPS, do i need to take care other things to make it work automatically?

Thanks.
5 years ago
I am using version 4.0 and have a same problem.

The "Send emails" and "Keep Alive" did not work although i setup the primary email.

I am running the website on a VPS, do i need to take care other things to make it work automatically?

Thanks.
5 years ago
Check the System > Log for any messages.
5 years ago
I checked the log and see some errors:

1/ "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server."

Detail:
System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
   --- End of inner exception stack trace ---
   at System.Net.WebClient.UploadValues(Uri address, String method, NameValueCollection data)
   at System.Net.WebClient.UploadValues(String address, NameValueCollection data)
   at Nop.Services.Tasks.TaskThread.Run()

2/ "An exception occurred during a WebClient request."
Detail:
System.Net.WebException: An exception occurred during a WebClient request. ---> System.IO.IOException: Unable to read data from the transport connection: The connection was closed.
   at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.WebClient.DownloadBitsState.RetrieveBytes(Int32& bytesRetrieved)
   at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream, CompletionDelegate completionDelegate, AsyncOperation asyncOp)
   at System.Net.WebClient.UploadValues(Uri address, String method, NameValueCollection data)
   --- End of inner exception stack trace ---
   at System.Net.WebClient.UploadValues(Uri address, String method, NameValueCollection data)
   at System.Net.WebClient.UploadValues(String address, NameValueCollection data)
   at Nop.Services.Tasks.TaskThread.Run()

Do you have any suggestions?

Thanks.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.