Merge branch 'master' of github.com:webnotes/erpnext
diff --git a/support/doctype/support_ticket/__init__.py b/support/doctype/support_ticket/__init__.py
index f0502f6..6f3c589 100644
--- a/support/doctype/support_ticket/__init__.py
+++ b/support/doctype/support_ticket/__init__.py
@@ -121,7 +121,8 @@
# send auto reply
if cint(self.email_settings.send_autoreply):
- self.send_auto_reply(d)
+ if "MAILER-DAEMON" not in d.raised_by:
+ self.send_auto_reply(d)
webnotes.conn.commit()
# extract attachments
@@ -165,7 +166,7 @@
""" + cstr(signature))
- from webnotes.utils.email_lib import sendmail
+ from webnotes.utils.email_lib import sendmail
sendmail(\
recipients = [cstr(d.raised_by)], \