Send mails with Django

Send mails with Django

Here a simple script to send a mail through Django, a very fast web framework written in Python: sendmail.py: from django.core.mail import send_mail send_mail(‘subject’, ‘text by Luke’, ‘jedim@vige.it’, [‘lsflashboss62@gmail.com’], fail_silently=False) settings.py: # Host for sending e-mail. EMAIL_HOST = ‘smtp.gmail.com’ #…