Beispiel #1
0
 def _get_options(self):
     opts = SMTPEmailAccount._get_options(self)
     opts.update(dict((a, getattr(self, a)) for a in
                     'imapserver imapport require_ssl'.split()))
     d = self.protocol_info()['defaults']
     if opts['require_ssl'] and opts['imapport'] == d['default_ssl_port']:
         opts.pop('imapport')
     return opts
Beispiel #2
0
 def _get_options(self):
     opts = SMTPEmailAccount._get_options(self)
     opts.update(
         dict((a, getattr(self, a))
              for a in 'imapserver imapport require_ssl'.split()))
     d = self.protocol_info()['defaults']
     if opts['require_ssl'] and opts['imapport'] == d['default_ssl_port']:
         opts.pop('imapport')
     return opts
Beispiel #3
0
 def _get_options(self):
     opts = SMTPEmailAccount._get_options(self)
     opts.update(
         dict((a, getattr(self, a))
              for a in 'popserver popport require_ssl'.split()))
     return opts
Beispiel #4
0
 def _get_options(self):
     opts = SMTPEmailAccount._get_options(self)
     opts.update(dict((a, getattr(self, a)) for a in
             'popserver popport require_ssl'.split()))
     return opts