added standard mail footer and function to get monthly bulk mail limit
diff --git a/erpnext/startup/__init__.py b/erpnext/startup/__init__.py
index 3549898..cd443a0 100644
--- a/erpnext/startup/__init__.py
+++ b/erpnext/startup/__init__.py
@@ -15,9 +15,13 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# add startup propertes
-
-add_in_head = """
-<style>
-
-</style>
-"""
\ No newline at end of file
+mail_footer = """<div style="padding: 7px; text-align: right; color: #888"><small>Sent via
+ <a style="color: #888" href="https://erpnext.com">ERPNext</a></div>"""
+
+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