Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. from_email=EMAIL_SYSTEM_ADDRESS,
  2. to_emails=email,
  3. html_content='<strong>and easy to do anywhere, even with Python</strong>')
  4.  
  5. message.dynamic_template_data = {
  6. 'code': code,
  7. }
  8.  
  9. message.template_id = 'd-5c55abde79a14562a9113c4b08d09d80'
  10.  
  11. try:
  12. sendgrid_client = SendGridAPIClient(SECRET__SENDGRID_API_KEY)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement