postmark-php icon indicating copy to clipboard operation
postmark-php copied to clipboard

Allow sending email with an "empty" template model.

Open atheken opened this issue 8 years ago • 1 comments

The send with template endpoint requires a template model to be passed when sending a message. However, an "empty" model is OK to use if the template doesn't require any data from the user when sending. Postmark-PHP appears to be filtering this 'empty' model out, when sending it to the server, causing an error.

atheken avatar May 31 '16 17:05 atheken

Can confirm. Had to workaround this by passing in faux data.

hwmatthewa avatar Oct 20 '21 19:10 hwmatthewa