0👍
if use cpanel you must first create a email account and then go to Set Up Mail Clien and in Non-SSL Settings section write the outgoing server and port in settings.py
EMAIL_BACKEND ='django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'outgoingserver'
EMAIL_PORT = SMTP_port
DEFAULT_FROM_EMAIL = 'your email account'
EMAIL_HOST_USER = 'your email account'
EMAIL_HOST_PASSWORD = 'email password'
EMAIL_USE_TLS = True
- [Answered ]-Cant figure out right queryset for json in django
- [Answered ]-Django classbased view not accepting view_args and view_kwargs
- [Answered ]-Signature error message when uploading file with fineuploader and django into S3
- [Answered ]-How to deal with virtual index in a database table in Django + PostgreSQL
Source:stackexchange.com