My employees get welcome messages normally. However, when I want to send any information via email on the site never get that mail. I suspect those mails might be related to this error.

Method: all, Handler:
Traceback (innermost last):
File “/home/erpnext/frappe-bench/apps/frappe/frappe/”, line 77, in scheduler_task
File “/home/erpnext/frappe-bench/apps/frappe/frappe/email/”, line 182, in flush
order by creation asc limit 1 for update"“”, now_datetime(), as_dict=1)
File “/home/erpnext/frappe-bench/apps/frappe/frappe/”, line 129, in sql
self._cursor.execute(query, values)
File “/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/”, line 205, in execute
self.errorhandler(self, exc, value)
File “/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/”, line 36, in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (1054, “Unknown column ‘send_after’ in ‘where clause’”)

In newer versions all mails are sent by the background worker. Your database is not migrated correctly.

Hi rmehta,

I used the virtual image (updated frequently). No longer I remember the version.