from sendgrid import Sendgridfrom sendgrid import Message
# make a secure connection to SendGrids = sendgrid.Sendgrid('', '', secure=True)# make a message objectmessage = sendgrid.Message("from@mydomain.com", "message subject", "plaintext message body", "<strong>HTML message body</strong>")# add a recipientmessage.add_to("someone@example.com", "John Doe")# use the Web API to send your messages.web.send(message)
Use promo code NEXT1720 to save $300 off general admission
No comments :
Post a Comment