mailjet-apiv3-dotnet icon indicating copy to clipboard operation
mailjet-apiv3-dotnet copied to clipboard

Using html content and variable substitution is explicitly not working

Open devployment opened this issue 2 years ago • 1 comments

Seems like the wrapper explicitly does not allow template variables if no template ID is given

https://github.com/mailjet/mailjet-apiv3-dotnet/blob/9f9d451596e2b5c5ccf4719e54444833dd8d538f/Mailjet.Client/TransactionalEmails/TransactionalEmailBuilder.cs#L494

The API itself seems to deal with this without problem

image

Via the API the email is sent, and variables are replaced in the given html.

devployment avatar Oct 07 '22 11:10 devployment

Event the examples show this as a valid scenario

https://dev.mailjet.com/email/guides/send-api-v31/#use-vars-and-custom-vars

image

devployment avatar Oct 07 '22 11:10 devployment