interface documentation
class IServerFactoryPOP3(Interface): (source)
Known implementations: twisted.mail.test.test_pop3.TestServerFactory
An interface for querying capabilities of a POP3 server.
Any cap_* method may raise NotImplementedError
if the particular capability is not supported. If cap_EXPIRE()
does not raise NotImplementedError
, perUserExpiration()
must be implemented, otherwise they are optional. If cap_LOGIN_DELAY()
is implemented, perUserLoginDelay()
must be implemented, otherwise they are optional.
Method | cap_ |
Return the minimum number of days messages are retained. |
Method | cap_ |
Return a string describing the POP3 server implementation. |
Method | cap_ |
Return the minimum number of seconds between client logins. |
Method | per |
Indicate whether the message expiration policy differs per user. |
Method | per |
Indicate whether the login delay period differs per user. |
Instance Variable | challengers |
A mapping of challenger names to IUsernameHashedPassword provider. |
Return a string describing the POP3 server implementation.
Returns | |
bytes | Server implementation information. |
Return the minimum number of seconds between client logins.
Returns | |
int | The minimum number of seconds between client logins. |
Indicate whether the message expiration policy differs per user.
Returns | |
bool | True when the message expiration policy differs per user, False otherwise. |
Indicate whether the login delay period differs per user.
Returns | |
bool | True when the login delay differs per user, False otherwise. |