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 SmtpSettings: (source)

View In Hierarchy

Store effective SMTP settings without exposing credentials in repr.

Parameters
hostEffective SMTP hostname.
portEffective TCP port between 1 and 65535.
encryptionNegotiated transport security mode.
usernameAuthentication user, empty when authentication is disabled.
passwordAuthentication secret, empty when authentication is disabled.
timeoutPositive socket timeout in seconds, or None for an unbounded wait.
sensitiveValues redacted from transport diagnostics.
Class Method fromConfig Resolve URL precedence and validate the effective SMTP settings.
Class Variable encryption Undocumented
Class Variable host Undocumented
Class Variable password Undocumented
Class Variable port Undocumented
Class Variable sensitive Undocumented
Class Variable timeout Undocumented
Class Variable username Undocumented
def fromConfig(cls, config: Mapping[str, object]) -> Self: (source)

Resolve URL precedence and validate the effective SMTP settings.

Parameters
config:Mapping[str, object]One normalized mailer, without environment lookups.
Returns
SelfValidated immutable connection options.
Raises
MailConfigurationExceptionIf endpoint, encryption, credentials, timeout, or URL is invalid.

Undocumented

Undocumented

password: str = (source)

Undocumented

Undocumented

sensitive: tuple[str, ...] = (source)

Undocumented

timeout: int | None = (source)

Undocumented

username: str = (source)

Undocumented