Note that there are some explanatory texts on larger screens.

plurals
  1. PORails 2.3.9 and SendGrid, Connection refused - connect(2) on localhost
    primarykey
    data
    text
    <p>I've looked through Google and StackOverflow and can't figure this out.</p> <p>I've got a Rails 2.3.9 app using Ruby 1.8.7, trying to send email through SMTP like so:</p> <pre><code>ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address =&gt; "smtp.sendgrid.net", :port =&gt; '25', :domain =&gt; "************.com", :authentication =&gt; :plain, :user_name =&gt; "***********", :password =&gt; "**********" } </code></pre> <p>My app backtrace looks like this:</p> <pre><code>/Users/jared/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/net/smtp.rb:551:in `initialize' /Users/jared/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/net/smtp.rb:551:in `open' /Users/jared/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/net/smtp.rb:551:in `do_start' /Users/jared/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/timeout.rb:67:in `timeout' /Users/jared/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/timeout.rb:101:in `timeout' /Users/jared/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/net/smtp.rb:551:in `do_start' /Users/jared/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/net/smtp.rb:525:in `start' /Users/jared/.rvm/gems/ruby-1.8.7-p334/gems/actionmailer-2.3.9/lib/action_mailer/base.rb:682:in `perform_delivery_smtp' /Users/jared/.rvm/gems/ruby-1.8.7-p334/gems/actionmailer-2.3.9/lib/action_mailer/base.rb:523:in `__send__' /Users/jared/.rvm/gems/ruby-1.8.7-p334/gems/actionmailer-2.3.9/lib/action_mailer/base.rb:523:in `deliver!' /Users/jared/.rvm/gems/ruby-1.8.7-p334/gems/actionmailer-2.3.9/lib/action_mailer/base.rb:429:in `deliver' /Users/jared/rails/********/app/models/user.rb:160:in `send_welcome_email' /Users/jared/rails/*********/app/controllers/users_controller.rb:35:in `create' </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload