Sha256: ecad1e24bdb07a0da71bb4c587347863f92498a64f7ffdaee908d2c29bad496e
Contents?: true
Size: 541 Bytes
Versions: 4
Compression:
Stored size: 541 Bytes
Contents
=begin Mailer methods can be defined using the simple format: def registration_email(name, user_email_address) from 'admin@site.com' to user_email_address subject 'Welcome to the site!' body :name => name content_type 'text/html' # optional, defaults to plain/text charset 'windows-1252' # optional, defaults to utf-8 via :sendmail # optional, to smtp if defined otherwise sendmail end =end class <%= @mailer_klass %> < Padrino::Mailer::Base # Mailer methods here... end
Version data entries
4 entries across 4 versions & 1 rubygems