Skip to main content

Forge mail — composition d'emails, transports interchangeables, templates Jinja et CLI mail:*.

Project description

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 / SMTPMailer (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

Le parcours pédagogique welcome-mail (forge starter:build mail-welcome) montre l'usage pas à pas.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forge_mvc_mail-1.0.0b16.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

forge_mvc_mail-1.0.0b16-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file forge_mvc_mail-1.0.0b16.tar.gz.

File metadata

  • Download URL: forge_mvc_mail-1.0.0b16.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for forge_mvc_mail-1.0.0b16.tar.gz
Algorithm Hash digest
SHA256 632699189a69b7c6a09248462d92b0bbac9aa277f300a1e9a668476b38d0f3c0
MD5 64c77cde13ff81206ccd899c126e3091
BLAKE2b-256 a922b7fca2c369852e5e1d1bf355fbc98ebae349f0d92d7702a5b81931b4a6a1

See more details on using hashes here.

File details

Details for the file forge_mvc_mail-1.0.0b16-py3-none-any.whl.

File metadata

File hashes

Hashes for forge_mvc_mail-1.0.0b16-py3-none-any.whl
Algorithm Hash digest
SHA256 1745a9274b508d3cb51b01db3c83d6aec60a0ee400c7ceb417cd5bc7e69306fa
MD5 55e53c06afc53f1727e03772b351f08c
BLAKE2b-256 6910f4d3c0173fbd118b1f2dc10cb80979fc28b2d313fa19f56a5a3a8508a92e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page