Set up
Compiling
Run the following commands
gem signin
Follow all the steps for signin in. Once completed, run the following
gem build gettive_mailer.gemspec
This will create a file with its name in the following form gettive_mailer-
gem push gettive_mailer<VERSION>.gem
Setting up this Gem in your project
Add the following to your GemFile
gem "gettive_mailer"
Afterward, run bundle install to have it installed
Create gettive_mailer.rb inside the initializers directory, and add this; it will be loaded when the server is started
GettiveMailer.configure do |config|
config.api_key = <Your API Key>
end
In your prereferred environment (Available in config/environments/
config.action_mailer.delivery_method = :gettive_mailer
You should now be good to go