1👍
EMAIL_HOST = 'smtp.qq.com'
- change
EMAIL_PORT='465'
toEMAIL_PORT = 587
, with no quotes. EMAIL_HOST_USER = 'abc@qq.com'
# try to use your real email address.RECEIVE_EMIAL_LIST=['receiver@qq.com']
toRECEIVE_EMIAL_LIST=['receiver@qq.com'**,**]
# add a comma at the end of the list is a good habit.
1👍
Have you checked that your production environment has the same network settings as the development environment?
Have you tried to ping or telnet the SMTP server from production?
Is possible that the production host is in a DMZ or in a subnet that has restricted access to the SMTP server you are trying to reach.
- [Answered ]-Generate PDF of Protected Django Webpage with Attachments
- [Answered ]-How to customize django admin search results in many to many fields
- [Answered ]-Adding Additional Hallo.js formatting features to Wagtail CMS RichTextField
Source:stackexchange.com