Rails Devise Mailer: No Received Messages in Inbox -


i'm using rails 4 , devise 3. need send confirmation e-mails production. these smtp configs config/environments/production.rb

config.action_mailer.default_url_options = { :host => 'smtp.gmail.com' }   config.action_mailer.raise_delivery_errors = false   config.action_mailer.perform_deliveries = true   config.action_mailer.delivery_method = :smtp   config.action_mailer.smtp_settings = {       :address              => "smtp.gmail.com",       :tls                  => true,       :port                 => '587',       :user_name            => 'my_email@gmail.com',       :password             => 'my_password',       :authentication       => 'plain',       :enable_starttls_auto => true     } 

logs e-mail's been sent. however, don't see in inbox. (yes, mailcatcher off)

another question, configs of development file affect production's environment's in ways? shouldn't, correct?

another important question: using way above, how many e-mails can handled? example, if used third party say, mandrill, better because tens of thousands of e-mails can handled. way? p.s i've tried mandrill , worked fine. requested not use third party though won't able use mandrill.

lastly, there other way of sending confirmation e-mails rails devise i'm unaware of yet? or there other configurations need outside of rails make work since won't using third party?

thank help, appreciate it.

please make sure have enter correct host name .

config.action_mailer.default_url_options = { :host => 'your domain name' }

as rails configuration standard if application running on local machine loads development env. file settings, if production load production env. file settings.

i prefer use sendgrid or mandrill mailchimp, if ave large application better use 3rd party addons, small application can use gmail .

hope :)


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -