import os
from django.core.mail import send_mail

os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'

if __name__ == '__main__':

    send_mail(
        '来自django练手项目的测试邮件',
        '欢迎访问django项目，我们在测试邮件发送！',
        'xxxx@163.com',
        ['xxxxx@qq.com'],
    )
cc33365a37cb4ba51d574253d4a2690887c6b179
<mask token>

<mask token>
if __name__ == '__main__':
    send_mail('来自django练手项目的测试邮件', '欢迎访问django项目，我们在测试邮件发送！',
        'xxxx@163.com', ['xxxxx@qq.com'])

<mask token>
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
if __name__ == '__main__':
    send_mail('来自django练手项目的测试邮件', '欢迎访问django项目，我们在测试邮件发送！',
        'xxxx@163.com', ['xxxxx@qq.com'])

import os
from django.core.mail import send_mail
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
if __name__ == '__main__':
    send_mail('来自django练手项目的测试邮件', '欢迎访问django项目，我们在测试邮件发送！',
        'xxxx@163.com', ['xxxxx@qq.com'])

import os
from django.core.mail import send_mail

os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'

if __name__ == '__main__':

    send_mail(
        '来自django练手项目的测试邮件',
        '欢迎访问django项目，我们在测试邮件发送！',
        'xxxx@163.com',
        ['xxxxx@qq.com'],
    )