Mailer服务器的Django邮件后端(https://github.com/spapas/mailer_server)
django-mailer-server-backend的Python项目详细描述
邮件服务器(https://github.com/spapas/mailer_server)的django邮件后端
从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'