Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TemplateAlias not supported #150

Closed
AarneHuttunen opened this issue May 30, 2018 · 1 comment
Closed

TemplateAlias not supported #150

AarneHuttunen opened this issue May 30, 2018 · 1 comment

Comments

@AarneHuttunen
Copy link

AarneHuttunen commented May 30, 2018

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 )

@Stranger6667
Copy link
Owner

Hi @AarneHuttunen !
Thank you for the information! I'll work on it this weekend :)

@AarneHuttunen AarneHuttunen changed the title TemplateAlias not supporter TemplateAlias not supported May 31, 2018
Stranger6667 added a commit that referenced this issue Jun 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants