📜  EMAIL_BACKEND 在哪里阅读 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:09.157000             🧑  作者: Mango

代码示例3
from django.core.mail import send_mail

send_mail(
    subject='Hello from SparkPost',
    message='Woo hoo! Sent from Django!',
    from_email='from@yourdomain.com',
    recipient_list=['to@example.com'],
    html_message='

Hello Rock stars!

', )