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
Store normalized immutable headers and intended recipients.
| Parameters | |
| subject | Literal subject, including an intentionally empty subject. |
| from | From header and transport sender. |
| to | Primary visible recipients. |
| cc | Additional visible recipients. |
| bcc | Hidden transport recipients. |
| reply | Reply destinations, which are never transport recipients. |
| Method | __init__ |
Normalize a declarative envelope without performing I/O. |
| Method | recipients |
Return the stable deduplicated transport recipient union. |
| Class Variable | bcc |
Undocumented |
| Class Variable | cc |
Undocumented |
| Class Variable | from |
Undocumented |
| Class Variable | reply |
Undocumented |
| Class Variable | subject |
Undocumented |
| Class Variable | to |
Undocumented |
def __init__(self, *, subject:
str = '', from_address: str | Address | None = None, to: Recipients = (), cc: Recipients = (), bcc: Recipients = (), reply_to: Recipients = ()):
(source)
¶
Normalize a declarative envelope without performing I/O.
| Parameters | |
subject:str | Literal subject, including an empty subject. |
fromstr | Address | None | From header and transport sender. |
to:Recipients | Primary visible recipients. |
cc:Recipients | Additional visible recipients. |
bcc:Recipients | Hidden transport recipients. |
replyRecipients | Reply destinations, not transport recipients. |
| Returns | |
None | Copy and validate all address collections. |
| Raises | |
MailCompositionException | If headers are invalid or a hidden recipient is also visible. |