用于mailer服务器的django邮件后端(https://github.com/spapas/mailer_server)
项目描述
用于mailer服务器的django邮件后端(https://github.com/spapas/mailer_server)
从pip安装
pip install django-mailer-server-backend
或从git的最新版本安装
pip install git+https://github.com/spapas/django-mailer-server-backend
然后在您的django应用程序中使用以下配置
MAILER_SERVER_TOKEN = 'YOUR_MAILER_SERVER_TOKEN'
MAILER_SERVER_URL = 'http://MAILER_SERVER_URL/mail/api/send_mail/'
EMAIL_BACKEND = 'mailer_email_backend.MailerServerBackend'
### 更新日志
0.3.0: 添加对文件附件的支持(仅适用于python 3.x)