Created
September 2, 2021 06:41
-
-
Save vivianspencer/bee32daa7aa2e719f1d9285543e96e31 to your computer and use it in GitHub Desktop.
Mailgun API Template Send
This file contains 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 -s --user 'api:API_KEY' \ | |
https://api.mailgun.net/v3/DOMAIN/messages \ | |
-F from='FROM NAME <FROM EMAIL>' \ | |
-F h:Reply-To='REPLY TO' \ | |
-F subject='SUBJECT LINE' \ | |
-F template='TEMPLATE ID' \ | |
-F o:deliverytime='DELIVERY TIME' \ | |
-F to='RECIPIENT EMAIL' \ | |
-F v:fname='RECIPIENT NAME' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Date/Time should be formatted according to the following specs:
RFC 2882