support fixes

This commit is contained in:
Rushabh Mehta 2013-01-15 12:51:01 +05:30
parent 971ccf9c0f
commit 8e10cea6d6

View File

@ -22,7 +22,7 @@ from webnotes.utils.email_lib.receive import POP3Mailbox
class SupportMailbox(POP3Mailbox): class SupportMailbox(POP3Mailbox):
def __init__(self): def __init__(self):
self.email_settings = webnotes.doc("Email Settings") self.email_settings = webnotes.doc("Email Settings", "Email Settings")
s = webnotes.doc('Support Email Settings') s = webnotes.doc('Support Email Settings')
s.use_ssl = self.email_settings.support_use_ssl s.use_ssl = self.email_settings.support_use_ssl
s.host = self.email_settings.support_host s.host = self.email_settings.support_host