Sha256: 24402b020e3beac7058f10762285491c75a50afa2bf4a48dd5c2a32a4a8f8b4e

Contents?: true

Size: 459 Bytes

Versions: 3

Compression:

Stored size: 459 Bytes

Contents

=begin

By default, Padrino mailer uses the built-in sendmail binary functionality on the server.
However, smtp is also supported using the following configuration if needed:

=end

module MailerInitializer
  def self.registered(app)
    # Padrino::Mailer::Base.smtp_settings = {
    #  :host   => 'smtp.gmail.com',
    #  :port   => '587',
    #  :tls    => true,
    #  :user   => 'user',
    #  :pass   => 'pass',
    #  :auth   => :plain
    # }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
padrino-gen-0.9.10 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.9.9 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.9.7 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt