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 "[email protected]" to "[email protected]" 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–2019 Padrino
Licensed under the MIT License.