Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from_email=EMAIL_SYSTEM_ADDRESS,
- to_emails=email,
- html_content='<strong>and easy to do anywhere, even with Python</strong>')
- message.dynamic_template_data = {
- 'code': code,
- }
- message.template_id = 'd-5c55abde79a14562a9113c4b08d09d80'
- try:
- sendgrid_client = SendGridAPIClient(SECRET__SENDGRID_API_KEY)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement