pyramid_mailer is a package for sending email from your Pyramid application. It is compatible with Python 2.7, 3.4, 3.5, 3.6, and 3.7 as well as PyPy.
This package includes:
- Wrapping the low-level Python
- Sending emails immediately or add to a
- Managing email sends inside a transaction, to prevent emails being sent if your code raises an exception.
- Features to help with unit testing.
pyramid_mailer uses the
repoze.sendmail library for managing email
sending and transacton management, and borrows code (with permission) from
Zed Shaw's lamson for wrapping email
messages. See the
LICENSE.txt file for more information.