diff --git a/frappe/email/queue.py b/frappe/email/queue.py index 0f90a040a9..15d7d740b4 100755 --- a/frappe/email/queue.py +++ b/frappe/email/queue.py @@ -292,6 +292,10 @@ def make_cache_queue(): def send_one(email, smtpserver=None, auto_commit=True, now=False): '''Send Email Queue with given smtpserver''' + if frappe.are_emails_muted(): + frappe.msgprint(_("Emails are muted")) + return + email = frappe.db.sql('''select name, status, communication, message, sender, recipient, reference_doctype