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)
Store effective SMTP settings without exposing credentials in repr.
| Class Method | from |
Resolve URL precedence and validate the effective SMTP settings. |
| Instance Variable | encryption |
Negotiated transport security mode. |
| Instance Variable | host |
Effective SMTP hostname. |
| Instance Variable | password |
Authentication secret, empty when authentication is disabled. |
| Instance Variable | port |
Effective TCP port between 1 and 65535. |
| Instance Variable | sensitive |
Values redacted from transport diagnostics. |
| Instance Variable | timeout |
Positive socket timeout in seconds, or None for an unbounded wait. |
| Instance Variable | username |
Authentication user, empty when authentication is disabled. |
Resolve URL precedence and validate the effective SMTP settings.
| Parameters | |
config:collections.abc.Mapping[str, object] | One normalized mailer, without environment lookups. |
| Returns | |
typing.Self | Validated immutable connection options. |
| Raises | |
orionis.mail.exceptions.MailConfigurationException | If endpoint, encryption, credentials, timeout, or URL is invalid. |