Sha256: 2ad936796b3c07c979e715e2bd24a5d4734cc8bd80c2ad5e3bee1a99180b4d42
Contents?: true
Size: 539 Bytes
Versions: 38
Compression:
Stored size: 539 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 type '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
38 entries across 38 versions & 1 rubygems