dont send mail back to mailer daemon
This commit is contained in:
parent
84b638f49a
commit
5b22fc6b61
@ -121,6 +121,7 @@ class SupportMailbox(POP3Mailbox):
|
|||||||
|
|
||||||
# send auto reply
|
# send auto reply
|
||||||
if cint(self.email_settings.send_autoreply):
|
if cint(self.email_settings.send_autoreply):
|
||||||
|
if "MAILER-DAEMON" not in d.raised_by:
|
||||||
self.send_auto_reply(d)
|
self.send_auto_reply(d)
|
||||||
|
|
||||||
webnotes.conn.commit()
|
webnotes.conn.commit()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user