I’ve tested “feature/mailjet-extended”
and it did worked for me, variables was used in recevied email! (when TemplateLanguage was set to true)
I also tried to use your latest “ReplyTo”, but then it breaks, instead of provided email it used “m” in that field:
{
“name”: “StatusCodeError”,
“statusCode”: 400,
“message”: “400 - {“Messages”:[{“Status”:“error”,“Errors”:[{“ErrorIdentifier”:“f200ca72-8d98-4e9f-947d-817cd9a6c06c”,“ErrorCode”:“mj-0013”,“StatusCode”:400,“ErrorMessage”:”\“m\” is an invalid email address.",“ErrorRelatedTo”:[“ReplyTo.Email”]}]}]}",
“error”: {
“Messages”: [{
“Status”: “error”,
“Errors”: [{
“ErrorIdentifier”: “f200ca72-8d98-4e9f-947d-817cd9a6c06c”,
“ErrorCode”: “mj-0013”,
“StatusCode”: 400,
“ErrorMessage”: ““m” is an invalid email address.”,
“ErrorRelatedTo”: [“ReplyTo.Email”]
}
]
}
]
},
“options”: {
“timeout”: 300000,
“headers”: {
“Accept”: “application/json”,
“Content-Type”: “application/json”,
“Authorization”: REMOVED
},
“method”: “POST”,
“qs”: {},
“body”: {
“Messages”: [{
“From”: {
“email”: “yureckey@tinytoolstudio.com”
},
“Subject”: “test subj”,
“To”: [{
“Email”: “yureckey@gmail.com”
}
],
“Cc”: [],
“Bcc”: [],
“Variables”: {
“testvar1”: “yupyupyup”
},
“TemplateID”: 2849217,
“ReplyTo”: {
“Email”: “m”
},
“TemplateLanguage”: true
}
]
},
“uri”: “https://api.mailjet.com/v3.1/send”,
“json”: true,
“simple”: true,
“resolveWithFullResponse”: false,
“transform2xxOnly”: false
},
“response”: {
“statusCode”: 400,
“body”: {
“Messages”: [{
“Status”: “error”,
“Errors”: [{
“ErrorIdentifier”: “f200ca72-8d98-4e9f-947d-817cd9a6c06c”,
“ErrorCode”: “mj-0013”,
“StatusCode”: 400,
“ErrorMessage”: ““m” is an invalid email address.”,
“ErrorRelatedTo”: [“ReplyTo.Email”]
}
]
}
]
},
“headers”: {
“content-length”: “229”,
“content-type”: “application/json; charset=UTF-8”,
“x-mj-request-guid”: “4a4180c5-c5c8-491f-8dc2-2a457f7d6c16”,
“date”: “Tue, 04 May 2021 11:16:46 GMT”,
“connection”: “close”
},
“request”: {
“uri”: {
“protocol”: “https:”,
“slashes”: true,
“auth”: null,
“host”: “api.mailjet.com”,
“port”: 443,
“hostname”: “api.mailjet.com”,
“hash”: null,
“search”: null,
“query”: null,
“pathname”: “/v3.1/send”,
“path”: “/v3.1/send”,
“href”: “https://api.mailjet.com/v3.1/send”
},
“method”: “POST”,
“headers”: {
“Accept”: “application/json”,
“Content-Type”: “application/json”,
“Authorization”: REMOVED
“content-length”: 246
}
}
}
}