How Can We Help?
Django
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:
from django.core.mail import send_mail
send_mail('Subject here', 'Here is the message.', '[email protected]', ['[email protected]'], fail_silently=False)