We recently noticed quite a weird behavior of the email messages our custom app places to the email queue. When the script generates a new email, it hangs in the queue for a long time (many hours, almost indefinite) without any action, remaining in “Not Sent” status.
The email is well formed and is visible via the Queue Manager interface in ERP Next:
When we manually select such a message and press Send Now button, it goes out in a good manner, reaching the email box of a recipient quickly.
We observe such issues on both the development VM with one of the latest ERP Next 7.1.x versions and on a more powerful server where we deploy ERP Next manually ourselves.
Just in case, below are captured our email messaging settings in ERP Next setup:
Does anybody have any idea on how to fix this?
Thank you.
George
P.S. Just in case, we also provide the source of one of the emails affected by this problem:
Nothing suspicious detected in the logs so far … We will keep watching this problem. When it is reproduced once again, we will be sharing more context and error log traps.
did you happen to resolve this issue? We are experiencing a similar issue where the email queue is on (shows “Suspend sending”), but mails just hang there. Sending them manually works fine (Queue > Send Now).