mailgun_rails icon indicating copy to clipboard operation
mailgun_rails copied to clipboard

Issue adding a campaign to mail

Open birchlore opened this issue 8 years ago • 0 comments

Hi there - thanks so much for the gem. I'm having issues adding a campaign tag:

email = mail(to: subscription.email, subject: "This week's update!")
email.mailgun_options = {campaign: 'weekly_digest'}

But mailgun logs showing:

"campaigns": []

Where have I gone wrong? Thanks

birchlore avatar Jun 29 '16 18:06 birchlore