Hi @gvyshnya,
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).
Our setup is: Debian 9 VM, ERPNext from easy install script v12, as site1.local (no multitenancy).
$ bench doctor
Shows 3 workers online, no jobs for site1.local
$ bench --site all enable-scheduler
did not change anything.
According to Email Queue Processing - #6 by clarkej I found in logs/worker.error.log
17:43:15 default: frappe.utils.background_jobs.execute_job(event='sendmail', is_ async=True, job_name='<function sendmail at 0x7f4628203d08>', kwargs={'cc': [], ... }) (2149ee98-1fa8-403d-9ef0-9af403adf619)
WARNING Property: Unknown Property name. [11:3: overflow-wrap]
17:43:15 default: Job OK (2149ee98-1fa8-403d-9ef0-9af403adf619)
Still it says, job OK… But does not get sent…
If I brute-force mail sending using crontab (see V11 can't suspend nor resume email queue - #10 by lasalesi) with
$ sudo crontab -e
* * * * * cd /home/frappe/frappe-bench && /usr/local/bin/bench execute frappe.email.queue.flush
it will not allow to send attached pdfs (see V12 error on sending email with document pdf)
Any inputs are welcome…