library · inferred from evidence
postmark-rails
A Rails gem for integrating with the Postmark service.
- How to catch and handle Postmark::InvalidMessageError (inactive recipient) in Rails
Error logs show `Postmark::InvalidMessageError: You tried to send to a recipient that has been marked as inactive. Found inactive addresses: ...` Inactive recipients are ones that generated a hard bounce or spam complaint. The app uses plai
- How to get the Postmark message ID after sending with postmark-rails
Postmark returns a message ID after accepting an email, which is needed for delivery tracking (sent, bounced, etc.). With postmark-rails, calling `UserMailer.welcome(@user).deliver_now` does not obviously expose the Postmark message ID on t