Sha256: 049c59ef498212a2b40c2777cf0a3591eefe422401e5f0d2bca95b0277ac85d7

Contents?: true

Size: 460 Bytes

Versions: 39

Compression:

Stored size: 460 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

39 entries across 39 versions & 1 rubygems

Version Path
padrino-gen-0.7.2 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.7.1 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.7.0 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.6.7 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.6.3 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.6.2 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.6.1 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.5.0 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.4.6 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.4.5 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.2.9 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.2.6 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.2.5 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.2.2 lib/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.2.1 lib/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.2.0 lib/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.1.5 lib/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.1.4 lib/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.1.3 lib/generators/templates/mailer_initializer.rb.tt