Skip to main content
===========
Marrja Mail
===========

Marrja mail is a small module that brings together Jinja2 and marrow.mailer to
easily send emails rendered from templates. You supply a template name with
no extension and it will try it with .txt and .htm from the 'email_templates' directory inside your package
(this is customisable) and attach the ones that are found.

Basic usage:
::
#Once per applicaton
from marrja_mail import MarrjaMailer

email_sender = MarrjaMailer(__name__, server='smtp.myserver.com', username='user@myserver.com',
password='mypass', default_sender='my_sender@myserver.com')

#Then to send email
email_sender.send('user@send.to', 'template_file', 'subject line' , var_for=jinja_template)

TODO:
=====

- Add support for testing that dumps out the rendered template to a dir
- Expose more configuration options for marrow.mailer
- Write better docs

More info @ https://github.com/Dotnetwill/marrja_mail

Metadata

Release files for Marrja_Mail 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Marrja_Mail 0.2.2
File Size Uploaded
Marrja_Mail-0.2.2.tar.gz 2.4 kB Details

Release files / Marrja_Mail-0.2.2.tar.gz

Download URL Marrja_Mail-0.2.2.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
eca5790110ed55a8fa80f76b7887aa3b254dd3b7f2d33f07f2076d8ae66e11ba
BLAKE2b-256 checksum
How to use checksums
5fbc3e98d44361daec83e0c2dd57f13c4e939bd0ea5ce0c2338ecf3bae6e0bc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.2

1 release file

0.1.1

1 release file

0.1

1 release file

0.1dev

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page