ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

class documentation

class MailEncryption(StrEnum): (source)

View In Hierarchy

Enumerate the transport security modes accepted by the SMTP driver.

Members inherit from str, so a configuration value and an enumeration member are interchangeable once normalized. Configured names are matched without case sensitivity.

Constant NONE Explicitly requested plaintext connection.
Constant SSL Implicit TLS negotiated before the SMTP greeting.
Constant TLS Mandatory STARTTLS upgrade over a plain connection.

Explicitly requested plaintext connection.

Value
'none'

Implicit TLS negotiated before the SMTP greeting.

Value
'ssl'

Mandatory STARTTLS upgrade over a plain connection.

Value
'tls'