jorgemanrubia / mailgun_rails

Rails Action Mailer adapter for Mailgun
MIT License
210 stars 70 forks source link

Issue adding a campaign to mail #63

Open birchlore opened 8 years ago

birchlore commented 8 years ago

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