I am having troubles with sending email confirmation using devise and mailgun. I have installed devise and changed setting to send email but whenever I signup as a newcomer there is no confirmation email sent. Can anyone specifically explain how to do it? Thanks.
2
votes
1 Answers
3
votes
Try this ...........
In your Gemfile
gem 'mailgun_rails'
To configure your Mailgun credentials place the following code in the corresponding environment file (development.rb, production.rb...)
config.action_mailer.delivery_method = :mailgun
config.action_mailer.mailgun_settings = {
api_key: '<mailgun api key>',
domain: '<mailgun domain>'
}
Hope this will work for you.