-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to send messages (using Rails 4) #25
Comments
@jenskanis can you check that |
@andresbravog yes I've put them in my .env file which are loaded by foreman. |
@jenskanis you are right i'm able to reproduce the error with rails 4.0.1 and ruby-2.0.0-p247. I'll try to fix it as soon as possible |
Thanks in advance:) |
already fixed here dbeb8b9 use master: gem 'mailgun', git: 'git@github.com:HashNuke/mailgun.git' |
Thanks, I will test this ASAP and close it if it's resolved. |
Great work on the Rails gem. After trying to integrate it with my Rails application I'm stumbling on a couple of problems. What I did to recreate my situation:
Mailgun.messages.send_email(parameters)
Problems:
It doesn't recognize the messages method.
Things I have tried:
Put Mailgun in an instance variable:
If I do the above, it asks me for the :domain which I need to set apart from the initializer (huh?). The second downside to this is that I can only make it work by connecting without an initializer directly from the application controller with a before_filter, but that is less from ideal because I don't want to connect again to the Mailgun API every single refresh.
I'm really stuck here, thanks.
The text was updated successfully, but these errors were encountered: