django同步send_email正常,celery异步send_email报错Connection unexpectedly closed

@shared_task
def sendEmail(content):
try:
send_mail('主题',content,'abc@qq.com',['1001@qq.com','1002@qq.com'])
print('发送成功')

except SMTPException as e:
print(f'发送失败{e}')

#views.py

……
#sendEmail('同步发送信息')    ——同步发送正常
sendEmail.delay('异步发送信息')   ——celery异步发送失败报错Connection unexpectedly closed
……

https://blog.csdn.net/qq_42517220/article/details/87934166