如何使用python使用mailchimp发送html邮件

时间:2018-10-08 07:41:02

标签: python django mailchimp mailchimp-api-v3.0

我正在尝试为我的django应用程序使用mailchimp向用户发送促销邮件。我已经创建了活动和列表。现在我想通过api将html模板添加到活动中。我可以通过Django中的send_mail函数来做到这一点。但是我想通过mailchimp作为促销电子邮件发送

有什么办法吗?

1 个答案:

答案 0 :(得分:0)

您必须使用他们的服务“ mandrill”。 python的官方软件包在这里:https://mandrillapp.com/api/docs/index.python.html

如果将其与Django一起使用,请查看“ djrill”:http://djrill.readthedocs.io/en/v2.1/