用于发送电子邮件的django实用程序。
django-email-utils的Python项目详细描述
实用功能,以简化django的电子邮件发送过程。
安装
从pypi安装:
pip install django-email-utils
用法
使用send_email实用程序发送电子邮件:
from email_utils import send_email send_email( context={'foo': 'bar'}, from_email='no-reply@myproject.com', recipient_list=['test@example.com'], subject='My Templated Email', template_name='myapp/template', )
许可证
这个项目是由麻省理工学院授权的。