Over on his blog The Pug Automatic, Henrik Nyh has published a great tutorial on using categories and unique arguments to add metadata to your messages in Rails, which you can then see data in the email activity log or on in event API posts. Henrik’s example adds the following metadata: A category with the name of the mailer, e.g. “MyMailer” A category with the mailer and action, e.g. “MyMailer#hello” A unique argument with the Rails environment, e.g. “production” A unique argument with the arguments passed into the mailer as a hash from argument name to value, like “{:foo_id=>123, :bar_id=>456}” Thanks for sharing your experience, Henrik!
Guest Post, Partnerships Modern Authentication and Identity: Where Are We Today? Ryan Chenkie May 31, 2016 • 1 min read
Best Practices Top Tips to Avoid Spam Filters When Sending Emails Elmer Thomas December 23, 2017 • 6 min read
Email Marketing What is an Email Blast? 5 Tips for Rethinking Your Email Strategy Kelsey Bernius November 4, 2016 • 3 min read
Best Practices Email Bounce Management: Soft Bounces vs. Hard Bounces Carly Brantz February 24, 2014 • 3 min read
Best Practices, Product SMTP Relay Service 101 [Back to Basics] Carly Brantz February 7, 2013 • 4 min read