Skip to content

Adding email support

daviddob edited this page Aug 3, 2017 · 1 revision

In production mode, it is recommended that you use a SMPT server of your own or integrate with a third party e-mail service provider.

To add e-mail support, simply add the following lines to your production config file (config/environments/production.rb)

   config.action_mailer.smtp_settings = {
        address:              'SERVER_ADDRESS',
        port:                 PORT_NUMBER,
        domain:               'YOUR_APP_DOMAIN',
        authentication:       'plain',
   }