postmarker icon indicating copy to clipboard operation
postmarker copied to clipboard

Postmark Templates support

Open sigaev-pro opened this issue 8 years ago • 1 comments

Hello,

I'm building Django application and want to use PostMark's Templates (https://postmarkapp.com/why/templates). Does it supported by your library?

I have ready docs but did not find anything about.

sigaev-pro avatar Nov 09 '17 15:11 sigaev-pro

Hello! Yes, templates for emails are supported. For example:

postmark.emails.send_with_template(
    TemplateId=123,
    TemplateModel={'username': 'Test'}
    From='[email protected]',
    To='[email protected]',
)

Templates API is supported as well. Unfortunately there is not very much info in the documentation - https://postmarker.readthedocs.io/en/stable/templates.html

Kind Regards

Stranger6667 avatar Nov 09 '17 16:11 Stranger6667