我正在尝试在后端发送邮件它显示邮件正在运行但它正在通过错误Net :: ReadTimeout:Net :: ReadTimeout 如何解决这个错误?请帮帮我。 Development.rb代码 -
config.action_mailer.default_url_options = { host: 'http://abc.co.in', port: 2095 }
# config.domain = 'lvh.me'
# config.action_mailer.perform_deliveries = true,
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
address: 'abc.co.in',
port: 25,
domain: 'abc.co.in',
user_name: 'hrms@abc.co.in',
password: '****',
authentication: :plain,
enable_starttls_auto: true,
openssl_verify_mode: OpenSSL::SSL::VERIFY_NONE
# openssl_verify_mode: 'none'
}