Да, вы можете указать опцию: ssl.
Установите следующие значения в файле config/environments/production.rb
:
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
address: 'mail.example.com',
port: 465,
domain: 'example.com',
user_name: 'no-reply@example.com',
password: 'password',
authentication: 'plain',
ssl: true,
}
Это работает с моим провайдером (Bluehost) для отправки почты.