In `client.SendEmail` there is a check in `response.ErrorCode != 0` for returning an error. This is not the case for `client.SendTemplatedEmail`, see: https://github.com/keighl/postmark/blob/28358b1a94e32f5b0ba5ffa4c61be0f9eeb7c497/templates.go#L215
In
client.SendEmailthere is a check inresponse.ErrorCode != 0for returning an error. This is not the case forclient.SendTemplatedEmail, see:postmark/templates.go
Line 215 in 28358b1