Sha256: 614629e394b42cd899f2d2251a6d7bcaaec8e2a8849387ed46deb865d7fd6f09

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 KB

Contents

class MailDeliveryTemporalError < StandardError; end

ActionMailer::MailDeliveryJob.rescue_from EOFError,
                                      IOError,
                                      # TimeoutError,
                                      Errno::ENETUNREACH,
                                      Errno::EHOSTUNREACH,
                                      Errno::ECONNRESET,
                                      Errno::ECONNABORTED,
                                      Errno::ECONNREFUSED,
                                      Errno::EPIPE,
                                      Errno::ETIMEDOUT,
                                      Net::SMTPAuthenticationError,
                                      Net::SMTPServerBusy,
                                      Net::SMTPSyntaxError,
                                      Net::SMTPUnknownError,
                                      Net::OpenTimeout,
                                      Net::ReadTimeout,
                                      OpenSSL::SSL::SSLError do |e|
  raise MailDeliveryTemporalError, e
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pg_rails-7.0.8.pre.alpha.24 pg_engine/config/initializers/action_mailer.rb
pg_rails-7.0.8.pre.alpha.23 pg_engine/config/initializers/action_mailer.rb
pg_rails-7.0.8.pre.alpha.22 pg_engine/config/initializers/action_mailer.rb
pg_rails-7.0.8.pre.alpha.21 pg_engine/config/initializers/action_mailer.rb
pg_rails-7.0.8.pre.alpha.20 pg_engine/config/initializers/action_mailer.rb