Forum: Rails-ES Bloque para ActionMailer (Perdón, m e equivoqué de Cuenta

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Marze (Guest)
on 2007-04-12 23:41
(Received via mailing list)
Estoy intentando hacer un bloque para configurar ActionMailer

ActionMailer::Base do |config|
   config.delivery_method = :smtp
   config.default_charset = 'utf8'
   config.default_content_type = 'text/html'
   config.smtp_settings = {
     # some stuff
   }
end


creo que tengo un error en la sintaxis y no arranca..
no se puede hacer?

gracias!
This topic is locked and can not be replied to.