backends.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:django-secure-mail 作者: blag 项目源码 文件源码
def copy_message(msg):
    return EmailMultiAlternatives(
        to=msg.to,
        cc=msg.cc,
        bcc=msg.bcc,
        reply_to=msg.reply_to,
        from_email=msg.from_email,
        subject=msg.subject,
        body=msg.body,
        alternatives=getattr(msg, 'alternatives', []),
        attachments=msg.attachments,
        headers=msg.extra_headers,
        connection=msg.connection)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号