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.9.6 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.9.5 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.9.4 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.9.3 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.9.2 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.9.1 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.9.0 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.8.5 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.8.4 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.8.3 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.8.2 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.8.1 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.8.0 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.7.9 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.7.8 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.7.7 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.7.6 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.7.5 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.7.4 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt
padrino-gen-0.7.3 lib/padrino-gen/generators/templates/mailer_initializer.rb.tt