Forum: Ruby on Rails Logging message body from ActionMailer class

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
B52fbe2d0e6afaed993636bda36b711b?d=identicon&s=25 Greg A. (akinsgre)
on 2013-10-02 23:53
(Received via mailing list)
I'm writing a new mailer in an application ( Rails 3.0, Ruby 1.9.3)

While in other applications the body of sent emails show in the
development log, in this application they aren't and I can't tell
what's different.  Can anyone see what I'm doing wrong?

The email parts of my config are below:

require 'tlsmail'
  require 'openssl'
  ActionMailer::Base.delivery_method = :smtp
  # Don't care if the mailer can't send
  config.action_mailer.raise_delivery_errors = false
  config.action_mailer.perform_deliveries = true

  ActionMailer::Base.smtp_settings = {
    :enable_starttls_auto => true,
    :address              => "",
    :port                 => 587,
    :tls                  => :true,
    :domain               => "",
    :authentication       => "plain",
    :user_name            => "",
    :password             => "password1"
  config.action_mailer.default_url_options = { :host => 'localhost:3000'

Greg Akins
Insomnia Consulting, LLC
724 454 7790 (cell)
This topic is locked and can not be replied to.