You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wanted to inform you (if you didn't know already) that Postmark supports template aliases
I'd guess this can be easily implemented. The aliases make the code more readable and offer nifty ways to have some logic in the server backend.
So instead of postmark.emails.send_with_template( TemplateId=123456, TemplateModel=email_data, From='[email protected]', To=email_addresses )
You could do postmark.emails.send_with_template( TemplateAlias="welcome-email" TemplateModel=email_data, From='[email protected]', To=email_addresses )
The text was updated successfully, but these errors were encountered:
Hi!
Just wanted to inform you (if you didn't know already) that Postmark supports template aliases
I'd guess this can be easily implemented. The aliases make the code more readable and offer nifty ways to have some logic in the server backend.
So instead of
postmark.emails.send_with_template( TemplateId=123456, TemplateModel=email_data, From='[email protected]', To=email_addresses )
You could do
postmark.emails.send_with_template( TemplateAlias="welcome-email" TemplateModel=email_data, From='[email protected]', To=email_addresses )
The text was updated successfully, but these errors were encountered: