twisted.mail.pop3.IServerFactory(Interface)
interface documentationtwisted.mail.pop3
View Source
(View In Hierarchy)
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.
Instance Variable | challengers | A mapping of challenger names to IUsernameHashedPassword
provider. (type: dict
of bytes
-> IUsernameHashedPassword ) |
Method | cap_IMPLEMENTATION | Return a string describing the POP3 server implementation. |
Method | cap_EXPIRE | Return the minimum number of days messages are retained. |
Method | perUserExpiration | Indicate whether the message expiration policy differs per user. |
Method | cap_LOGIN_DELAY | Return the minimum number of seconds between client logins. |
Method | perUserLoginDelay | Indicate whether the login delay period differs per user. |
IUsernameHashedPassword
provider. (type: dict
of bytes
-> IUsernameHashedPassword
)
Return a string describing the POP3 server implementation.
Returns | Server implementation information. (type: bytes ) |
Indicate whether the message expiration policy differs per user.
Returns | True when the message expiration policy differs per user,
False otherwise. (type: bool ) |