How Can We Help?
There is more detailed information about sending an email over SMTP with Django on the Django project website.
Firs,t start by adding the following to settings.py:
EMAIL_HOST = 'smtp.swipemail.in' EMAIL_HOST_USER = 'mail250_username' EMAIL_HOST_PASSWORD = 'mail250_password' EMAIL_PORT = 2525 EMAIL_USE_TLS = False
Then to send the email you can do the following: