Merge pull request #9494 from mbauskar/patch-fixes

[fix] handle email exception if email account is not configured
This commit is contained in:
Saurabh 2017-06-28 11:00:00 +05:30 committed by GitHub
commit 46af07cc09

View File

@ -31,5 +31,7 @@ Templates and update your Customer's and Supplier's GST Numbers.</p>
ERPNext Team.
""".format(gst_document_link="<a href='http://frappe.github.io/erpnext/user/manual/en/regional/india/'> ERPNext GST Document </a>")
sendmail_to_system_managers("[Important] ERPNext GST updates", message)
try:
sendmail_to_system_managers("[Important] ERPNext GST updates", message)
except Exception as e:
pass