Last active
May 11, 2016 17:43
-
-
Save sendgrid-gists/648474f193631872903033ed626fa72b to your computer and use it in GitHub Desktop.
"Hello World" for email, using SendGrid with cURL.
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
curl -X POST https://api.sendgrid.com/api/mail.send.json \ | |
-H "Authorization: Bearer SENDGRID_APIKEY" \ | |
-d "[email protected]" \ | |
-d "[email protected]" \ | |
-d "subject=Sending with SendGrid is Fun" \ | |
-d "html=and easy to do anywhere, even with cURL" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment