Closed nicolasmlv closed 8 years ago
When using mailgun from dev environment, i got this exception :
RestClient::SSLCertificateNotVerified (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed):
In order to bypass this, in dev environment, we should make use of 'verify_ssl' params in RestClient
With this pull request, we can add a verify_ssl option to the settings :
#config/environments/development.rb Myapp::Application.configure do #... config.action_mailer.mailgun_settings = { api_key: ENV['MAILGUN_API_KEY'], domain: ENV['MAILGUN_DOMAIN'], verify_ssl: false } #... end
Hi @nicolasmlv,
Thank you so much for the PR. There are some conflicts preventing the merge. Could you look at those? I am looking forward to merge this.
Thanks
@nicolasmlv Thank you for contributing!
When using mailgun from dev environment, i got this exception :
In order to bypass this, in dev environment, we should make use of 'verify_ssl' params in RestClient
With this pull request, we can add a verify_ssl option to the settings :