Skip to content

Instantly share code, notes, and snippets.

@aavrug
Created December 22, 2017 07:52
Show Gist options
  • Save aavrug/0b8b72f18459adffbd61f00ebbea7921 to your computer and use it in GitHub Desktop.
Save aavrug/0b8b72f18459adffbd61f00ebbea7921 to your computer and use it in GitHub Desktop.
>>> from mailer import Mailer
>>> def sendMail(email):
... mail = Mailer()
... mail.send_message(subject='Here',template='emails/customer_verification.html',context='',to_emails=[email])
...
>>> sendMail('[email protected]')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment