0
我看Sendgrid文档,并将其写入该发送电子邮件将标记替换,这就够了:Django的 - Sendgrid如何使用send_mail
from django.core.mail import send_mail
send_mail('Subject here', 'Here is the message.', '[email protected]', ['[email protected]'], fail_silently=False)
如果我想使用Sendgrid模板,在哪里我声明了我想要使用的模板?另外,Sendgrid的模板中有substitution tags。我如何在django中声明它们?