0

Are these two lines equivalent:

ActionMailer::Base.smtp_settings = {

config.action_mailer.smtp_settings ={

I'm trying to configure devise to send emails and have been looking at multiple guides. Some seem to use the top line, while others use the bottom.

I'm on rails 3.2. Is one of these new to 3.2?

Thanks

Tyler DeWitt
  • 23,366
  • 38
  • 119
  • 196

1 Answers1

2

If you want to send email then use this guide. Both lines are Equivalent.

gmail smtp with rails 3

Community
  • 1
  • 1
Muhammad Sannan Khalid
  • 3,127
  • 1
  • 22
  • 36