[英]Send mail with python using bcc
我正在使用django,我需要向许多电子邮件发送邮件,我想使用像python-mailer这样的高级库来执行此操作,但是我需要使用密件抄送字段,有什么建议吗?
You should look at the EmailMessage class inside of django, supports the bcc. 您应该查看django中的EmailMessage类,它支持密件抄送。
Complete docs availble here: http://docs.djangoproject.com/en/dev/topics/email/#the-emailmessage-class 完整的文档在这里可用: http : //docs.djangoproject.com/en/dev/topics/email/#the-emailmessage-class
Quick overview: 快速概述:
The EmailMessage class is initialized with the following parameters (in the given order, if positional arguments are used). EmailMessage类使用以下参数初始化(如果使用位置参数,则以给定的顺序)。 All parameters are optional and can be set at any time prior to calling the send() method.
所有参数都是可选的,可以在调用send()方法之前的任何时间进行设置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.