diff --git a/erpnext/startup/__init__.py b/erpnext/startup/__init__.py index 354989808d8..cd443a082c1 100644 --- a/erpnext/startup/__init__.py +++ b/erpnext/startup/__init__.py @@ -15,9 +15,13 @@ # along with this program. If not, see . # add startup propertes - -add_in_head = """ - -""" \ No newline at end of file +mail_footer = """
Sent via + ERPNext
""" + +def get_monthly_bulk_mail_limit(): + import webnotes + # if global settings, then 500 or unlimited + if webnotes.conn.get_value('Email Settings', None, 'outgoing_mail_server'): + return 999999 + else: + return 500 \ No newline at end of file