ActiveCampaign/postmark-rails

Sending through different "Servers"

mohamedhafez opened this issue · 1 comments

So on the Postmark console, you can create different "servers", each of which will keep track of its own bounce & spam rates, and have its own suppression list, etc.

It would be great if this gem would let you choose which server you are sending through as an option passed to mail, like for example:

mail to: "me@example.com", subject:"hello", postmark_settings: {api_token: "token for a different server"}

I have an intern I can probably put on to adding this feature, if it would be accepted

My mistake, looks like this is already possible by passing delivery_method_options:

mail to: "me@example.com", subject:"hello", delivery_method_options: {api_token: "token for a different server"}