I have created an email id on my cpanel, I want to use it in django.
As for gmail we write,
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_USE_TLS = True
EMAIL_USE_SSL = False
EMAIL_PORT = 587
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'password'
What should we write for the id that has been created using cpanel.
I have no idea regarding this as I am a begineer.
2
Answers
For me I have a cpanel email created on NameCheap, during development I successfully configured the email. I was able to send the email from the configured one. But the Email was not using SSL or TLS because setting up the secure one was raising an error.
If you are using Django All auth remember to set to use same email to send password reset links
Thanks
I have cpanel email created with hostafrica with SSL and TLS enable, also hosted my application on aws but decided not to use AWS SES. so I configure my email backends as follow: