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 IMailTransport(ABC): (source)
Send already prepared mail without knowing views or storage declarations.
Implementations receive immutable MIME bytes plus a separate transport envelope, so they never resolve templates, disks, or Mailable classes.
@abstractmethod
async def send(self, message: PreparedMail, *, mailer: str, driver: str) -> MailResult:
(source)
¶
Transmit or store one complete message.
| Parameters | |
message:PreparedMail | Immutable MIME bytes plus a separate transport envelope. |
mailer:str | Selected configuration name. |
driver:str | Registered transport implementation name. |
| Returns | |
MailResult | Confirmed acceptance, partial acceptance, or storage result. |
| Raises | |
MailTransportException | If the operation fails or all recipients are rejected. |