This component uses the
Using the mailer in Padrino has two forms. The 'quick' method requires only use of the
# app/controllers/session.rb post :create do email do from "firstname.lastname@example.org" to "email@example.com" subject "Welcome!" body render('email/registered') end end
.registered(app) ⇒ Object (also: included)Registers the Padrino::Mailer helpers with the application.
Registers the Padrino::Mailer helpers with the application.
© 2010–2016 Padrino
Licensed under the MIT License.