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
rm -rf /Users/toto |
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
{ | |
"Messages": [{ | |
"Status": "Success", | |
"CustomID": "myCustomID", | |
"To": [{ | |
"Email": "contact@mailjet.com", | |
"MessageUUID": "123", | |
"MessageID": "456", | |
"MessageHref": "https://api.mailjet.com/v3.1/message/456" | |
}], |
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
{ | |
"Status": "error", | |
"Errors": [{ | |
"ErrorClass": "ValidationError", | |
"ErrorMessage": "HTML and TemplateID can't be used together", | |
"ErrorRelatedTo": ["HTMLPart", "TemplateID"], | |
"StatusCode": 400 | |
}] | |
} |
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
{ | |
"Messages": [ | |
{ | |
"From": { | |
"Name": "Hello Mailjet", | |
"Email": "noreply@mailjet.com" | |
}, | |
"Subject": "This is an example of a detailed sender payload", | |
"TemplateID": 6993, | |
"TemplateLanguage": true, |
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
using Mailjet.Client; | |
using Mailjet.Client.Resources; | |
using System; | |
using Newtonsoft.Json.Linq; | |
namespace Mailjet.ConsoleApplication | |
{ | |
class Program | |
{ | |
/// <summary> |