This release is a pre-release and may not be stable for production use.
forge-mvc-mail
Opt-in Forge pour l'envoi d'emails. Extrait du core (ADR-022) : le core ne contient que les primitives générales ; l'email est une brique spécialisée, optionnelle.
Contenu
MailMessage: composition d'un message (destinataires, sujet, texte, HTML).- Transports interchangeables :
ConsoleTransport(affichage),SmtpTransport(SMTP réel),LogTransport,NullTransport,FakeTransport(tests). MailTemplateRenderer: rendu de templates d'email via Jinja2.Mailer: orchestration envoi + journalisation (MailLogger).MailConfig: configuration depuis l'environnement.- CLI
mail:init,mail:test,mail:render,mail:doctor,mail:logs.
Installation
pip install --pre forge-mvc-mail
Usage
from forge_mvc_mail import Mailer, MailMessage, ConsoleTransport
mailer = Mailer(transport=ConsoleTransport())
mailer.send(MailMessage(
subject="Bienvenue",
to="client@example.com",
body_text="Merci de votre inscription.",
))
Le transport est interchangeable : ConsoleTransport (développement),
SmtpTransport (SMTP réel), LogTransport, FakeTransport (tests).
En production, MailConfig lit la configuration SMTP depuis l'environnement.
Le parcours pédagogique welcome-mail (documentation docs/starters/welcome-mail/)
montre l'usage pas à pas.
Metadata
Release files for forge-mvc-mail 1.0.0rc9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| forge_mvc_mail-1.0.0rc9.tar.gz | 44.4 kB | Without provenance | Details for forge_mvc_mail-1.0.0rc9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| forge_mvc_mail-1.0.0rc9-py3-none-any.whl | Python 3 | none | any | Details for forge_mvc_mail-1.0.0rc9-py3-none-any.whl |
Total release size: 70.2 kB
Release files / forge_mvc_mail-1.0.0rc9.tar.gz
| Download URL | forge_mvc_mail-1.0.0rc9.tar.gz |
|---|---|
| Size | 44.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d5150c7d437df071d1fc2a5909a2173805e71f04f99a2aa76d2d3202ac24611
|
|
BLAKE2b-256 checksum How to use checksums |
1ed0677dee46c85eb2639e6d8b81bde5e29d9ca8f82d45342875f04165fef25b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / forge_mvc_mail-1.0.0rc9-py3-none-any.whl
| Download URL | forge_mvc_mail-1.0.0rc9-py3-none-any.whl |
|---|---|
| Size | 25.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c048959d174ab967b3720c9ffb86a022d65b49401233d1f5ebf86a0308a07c64
|
|
BLAKE2b-256 checksum How to use checksums |
06663464433abdd0257fa247047e802ef3b71b5d853bcaf25337db894af15222
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for forge-mvc-mail 1.0.0rc9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.