ActiveCampaign / postmark-rails

Official integration library for using Rails and ActionMailer with the Postmark HTTP API
https://postmarkapp.com
MIT License
354 stars 47 forks source link

Can one use template ID instead of template alias? #68

Closed Slawikus closed 5 years ago

Slawikus commented 5 years ago

In the documentation templated mails it is mentioned that one can use alias to refer to particular template, but is there a way to use template ID?

temochka commented 5 years ago

Sorry, we don’t plan to support template IDs for the Rails integration. Our officially endorsed workflow looks something like this:

  1. Create a Postmark server for each app environment (e.g., development, integration, staging, production)
  2. Create/edit aliased templates in development.
  3. Push changes up the deployment chain.

P.S. We plan to support Template IDs at the API level for the foreseeable future, but all new (e.g., template pushes) and upcoming template features will continue to require aliases. If you cannot switch to aliases for some reason, we’d love to learn about your use case. Drop us a line at mailto:support@postmarkapp.com: it’s a better medium for these conversations.