Last active
April 12, 2016 18:05
-
-
Save devStepsize/505302553414c0a4fcd7eabd8759614f to your computer and use it in GitHub Desktop.
2-liner to send emails using Django
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.core.mail import send_mail | |
send_mail('Subject here', 'Here is the message.', '[email protected]', | |
['[email protected]'], fail_silently=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment