mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 14:38:26 +00:00
sync support emails only when sync_support_mails is set to 1
This commit is contained in:
@@ -171,5 +171,6 @@ def get_support_mails():
|
||||
"""
|
||||
Gets new emails from support inbox and updates / creates Support Ticket records
|
||||
"""
|
||||
SupportMailbox().get_messages()
|
||||
|
||||
import webnotes
|
||||
if webnotes.conn.get_value('Email Settings', None, 'sync_support_mails'):
|
||||
SupportMailbox().get_messages()
|
||||
Reference in New Issue
Block a user