I
I
IvanN7772017-03-02 15:04:35
Ruby on Rails
IvanN777, 2017-03-02 15:04:35

Email is not sent from smtp, Net::OpenTimeout: execution expired, can you see the setting?

Net::OpenTimeout: execution expired
And tested smtp from sites
https://pingability.com/smtptest.jsp not sent
smtper.nanogenesis.fr sent

config.action_mailer.smtp_settings = {
      :address   => "XXX.XXX.X.XX",
      :port      => "25",
      :domain    => "localhost:3000",
      :user_name => 'XXX',
      :password  => 'XXX',
      :authentication       => :login,
  }

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Mirilaczvili, 2017-03-04
@IvanN777

It's easier to use Mailcatcher to send in design mode.

I
IvanN777, 2017-03-02
@IvanN777

Was my cant, this configuration works for me

config.action_mailer.smtp_settings = {
      :address   => "XXX.XXX.X.XX",
      :port      => "587",
      :domain    => "XXXX",
      :user_name => 'XXX',
      :password  => 'XXXX',
      :authentication     => "login",
      :enable_starttls_auto => false
  }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question