Unable to send Email directly: Unknown Property name [RESOLVED]

I’m having issues sending emails from within the module (Quote, Sales Order, …) whereas password notifications work just fine. Looking at the logs, I’ve found this:

Apr 19 22:21:04 ip-172-26-8-8 worker.error.log: 20:21:04 default: frappe.utils.background_jobs.execute_job(async=True, event=u'sendmail', ...
Apr 19 22:21:05 ip-172-26-8-8 worker.error.log: WARNING	Property: Unknown Property name. [11:3: overflow-wrap]
Apr 19 22:21:05 ip-172-26-8-8 worker.error.log: 20:21:05 default: Job OK (a48fd165-7153-4baf-9b84-6629011c28e1)
Apr 19 22:21:05 ip-172-26-8-8 worker.error.log: 20:21:05 Result is kept for 500 seconds 

Whenever an Email doesn’t go out, I see this particular error message:
Apr 19 22:21:05 ip-172-26-8-8 worker.error.log: WARNING Property: Unknown Property name. [11:3: overflow-wrap]

Does anybody have any idea what could be the problem? Your help is much appreciated!

PS: The solution will pay a 20€ bounty. (To be paid in XRP/ETH/…).

@franzos did u checked with Email Queue ??

@hereabdulla thanks so much! I’ve recently migrated to a new host and apparently the scheduler wasn’t enabled. Can you send me a PM with your ETH/BTC/XRP address?

For others encountering similar issues:

  1. Run bench doctor
  2. Check for messages such as Scheduler disabled for site1.local
  3. Enable to scheduler with bench enable-scheduler

If you’re running multiple sites, select the site with bench use site2.local, in order to enable the scheduler.

3 Likes