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
Product | Cost | Sold | |
---|---|---|---|
erat id mauris | 22.3 | 8 | |
elementum | 535.44 | 1 | |
ante | 172.09 | 100 | |
nibh | 267.5 | 90 | |
vestibulum sagittis | 154.96 | 83 | |
et commodo vulputate | 128.99 | 43 | |
odio porttitor id consequat | 595.16 | 9 | |
tempus vivamus | 420.46 | 98 | |
orci luctus et ultrices | 386.85 | 52 |
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
import sendgrid | |
from sendgrid.helpers.mail import * | |
sg = sendgrid.SendGridAPIClient(apikey="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") | |
from_email = Email("[email protected]") | |
subject = "Hello World from the SendGrid Python Library!" | |
to_email = Email("[email protected]") | |
content = Content("text/plain", "Hello, Email!") | |
mail = Mail(from_email, subject, to_email, content) | |
response = sg.client.mail.send.post(request_body=mail.get()) |
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