Skip to main content
1

Add the gem

Add paubox_rails to your Gemfile:
Then install:
2

Configure credentials

Create config/initializers/paubox.rb:
To obtain credentials, see Authentication.
3

Set the delivery method

In config/application.rb (or an environment-specific file):
4

Create a mailer and send

Generate a mailer if you don’t have one:
Define an action in app/mailers/user_mailer.rb:
Add a template at app/views/user_mailer/welcome_email.html.erb:
Deliver it:
The email is sent encrypted via Paubox.

Next steps