4

I am trying to send an email after signup for rails devise. Unfortunately I am getting the error in the title.

Here is my development environment:

  config.action_mailer.default_url_options = { :host => 'localhost:3000' }
  config.action_mailer.delivery_method = :smtp

  config.action_mailer.smtp_settings = {:address => "localhost", :port => 1025}

  config.action_mailer.perform_deliveries = true

Am I not supposed to be going through port 1025? I'm very new to rails mailers, so any insight into this would be appreciated!

gwalshington
  • 1,418
  • 2
  • 30
  • 60

1 Answers1

3

Are you using Mailcatcher or something to listen to the port? You might need to start mailcatcher.

Starting MailCatcher
==> smtp://127.0.0.1:1025
VegaStudios
  • 378
  • 1
  • 4
  • 22