By Chu Nguyen


2019-09-24 10:55:58 8 Comments

Our client can't received email and I have found the issue with the schedule task "Send email queue": The task couldn't not stop before I disabled it. When I enable again, it works fine, but I want to know exactly the problem to not sure it NOT stuck again

More detail: - Kentico: v10.0.50 - Event log: i dôn't see any log about the task

2 comments

@Michal Samuhel 2019-09-25 08:26:48

Just to add on top of answerfrom Brenden. Make sure, that application is alive and it does not restart or stop if there are no requests coming in from the application.

This task should call to an instance of ThreadSender and since all actions are done asynchronously in separate thread, task itself will not log any errors. It will just jumpstart a ThreadSender thread and it should be running and processing queue. You can check if the thread is running in Debug application Worker Threads tab. Any errors related would be logged in event log with ThreadSender source.

@Brenden Kehren 2019-09-24 11:52:22

Best thing to resolve that issue is to upgrade to a newer version. There are a list of things about a mile long which could cause it to hang. We've found the upgrade is most successful.

If you want to troubleshoot, check the following:

  • to email is a valid email address

  • from email address is a valid email

  • smtp credentials are correct

  • smtp provider doesn't have some limitation on sending

  • the user accounts sending the emails has proper send permissions (common issue with Office 365)

Related Questions

Sponsored Content

1 Answered Questions

1 Answered Questions

Task runs when I select "Run" but get logon failure on a scheduled start

  • 2019-07-19 15:47:30
  • J. Horner
  • 98 View
  • 0 Score
  • 1 Answer
  • Tags:   taskscheduler

1 Answered Questions

[SOLVED] Kentico not sending admin user password reset

  • 2019-06-20 15:46:20
  • stairie
  • 76 View
  • 0 Score
  • 1 Answer
  • Tags:   email smtp kentico

2 Answered Questions

[SOLVED] Task scheduler-run on event for a specific task only

2 Answered Questions

Task Scheduler - MS Access can't send email via MS Outlook

1 Answered Questions

[SOLVED] Task Scheduler - On Event Log EventID 203 pass name of failed task to Action argument

  • 2018-05-15 11:56:16
  • Peter Holloway
  • 533 View
  • 1 Score
  • 1 Answer
  • Tags:   taskscheduler

3 Answered Questions

1 Answered Questions

[SOLVED] Kentico tapping into Page not Found event

  • 2015-03-24 21:30:55
  • learning...
  • 126 View
  • 0 Score
  • 1 Answer
  • Tags:   events kentico

Sponsored Content