更新时间:2022-04-13 07:44:41
如果要使用 send_mail
,则必须创建自己的电子邮件后端使用您的自定义设置,然后将其传递给 connection
属性中的 send_mail
。
If you want to use send_mail
, you'll have to create your own email backend which uses your custom settings and then pass it to send_mail
in the connection
attribute.