Created
January 15, 2018 12:16
-
-
Save electronicbites/7dc01371a2ce69078218ec43031ccbd6 to your computer and use it in GitHub Desktop.
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
headers = {} | |
headers['X-MJ-CustomID'] = 'rubyPR_Test_ID_1469790724' | |
email = { from_email: "[email protected]", | |
from_name: "Mailjet TEST", | |
subject: 'Your email flight plan 23!', | |
text_part: 'Dear passenger 1, welcome to Mailjet! May the delivery force be with you!', | |
html_part: '<h3>Dear passenger 1, welcome to Mailjet!</h3><br />May the delivery force be with you!', | |
recipients: [{:email => '[email protected]'}], | |
CustomID: '1234567890', | |
headers: headers | |
} | |
variable = Mailjet::Send.create(email) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment