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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

forge_mvc_mail-1.0.0b13-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for forge_mvc_mail-1.0.0b13-py3-none-any.whl
Algorithm Hash digest
SHA256 a31e124279d1451cfd053553a933b7182ac62ca9ad596c4d692cdb0dd8788605
MD5 57ccc1cb958761ff23640458ecd0cf37
BLAKE2b-256 bbd053a5165daa7a2ec10d2242711b778415f3c344326d5250cf025ae4e3464f

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