Module: ActionMailer

Defined in:
lib/action_mailer/ar_sendmail.rb

Overview

ActionMailer::ARSendmail delivers email from the email table to the SMTP server configured in your application’s config/environment.rb. ar_sendmail does not work with sendmail delivery.

ar_mailer can deliver to SMTP with TLS using smtp_tls.rb borrowed from Kyle Maxwell’s action_mailer_optional_tls plugin. Simply set the :tls option in ActionMailer::Base’s smtp_settings to true to enable TLS.

See ar_sendmail -h for the full list of supported options.

The interesting options are:

  • –daemon

  • –mailq

Defined Under Namespace

Classes: ARSendmail, Base