State object for the current connection.
blackhole.state
-
class blackhole.state.MailState[source]
A state object used for remembering
the current connections place in our runtime.
This is mostly used for figuring out if we’re
receiving SMTP commands or have trigger the
DATA command.
-
email_id[source]
Email ID is used to assign commands
sent and received against an email/connection
ID.
Only utilized when debug flag is set.
-
reading[source]
MailState’s ‘reading’ property, used for
figuring out where we are in the state chain.