Queued Email 1.8

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Hi
I am new to nopCommerce, its amazing application in open source world, but i have a question.


1- Queued Emails are unable to send, they are just stuck in queued email area of admin section.
I have send some test emails and its working why not queued emails ?

Any help will be appropriated.

Thanks
13 years ago
Please post your full error text (admin area > System > Log)
13 years ago
Actually there is no Error Text.
I have clear the log and re queued emails , Emails are still there having status " Not sent yet " under 'Sent on' and no error text under log.

Thanks
13 years ago
In this case you need to debug your application. The method you need is in \Libraries\Nop.BusinessLogic\Messages\SendQueuedMessagesTask.cs file. Set breakpoint into Execute method and see why emails are not sent
13 years ago
Thanks for quick response.
Let me give it a try.
13 years ago
I have tried it but got no luck

I have figure out that MessageManager.InsertQueuedEmail(...) is working perfectly but  emails are unable to deliver because I can't find a way where "public void Execute(XmlNode node)" this function is called under

"\Libraries\Nop.BusinessLogic\Messages\SendQueuedMessagesTask.cs"

Don't know how "public void Execute(XmlNode node)" will be called ?


Any help will be appreciated.
13 years ago
SendQueuedMessagesTask.Execute should be executed each 60 seconds. Have you set a breakpoint into this method? Is execution suspended at the breakpoint?
P.S. You can find more info about debugging ASP.NET applications here
13 years ago
Thanks for reply but It never hits the break point.

Here is my web.config  "ScheduleTasks"

<ScheduleTasks>
  <Thread seconds="60">
    <task name="Emails" type="NopSolutions.NopCommerce.BusinessLogic.Messages.SendQueuedMessagesTask, Nop.BusinessLogic" enabled="true" stopOnError="false" maxTries="5"/>
  </Thread>
</ScheduleTasks>


SendQueuedMessagesTask.Execute never hits the break point after the specified time mention in web.config
13 years ago
In this case set breakpoint into \Libraries\Nop.BusinessLogic\Tasks\Task.cs file, Execute() method. And see whether this method could be successfully completed.

What nopCommerce version are you using? Where did you download it?
13 years ago
I am using v1.8.

I have tested my application on windows 7 and IIS 7 having Managed pipeline mode: Integrated set under Application pool.

Queued email is working under above mentioned configuration.


Now I moved the application to production environment have OS: Windows server 2003 and IIS 6
How to make it working there because Queued email is not working there.

any help will be appreciated.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.