A simple SMTP-Adapter for carbon.
The current plan is to track carbon's major and minor numbers, so that
0.1.x is compatible with carbon
0.1.x and so on.
Add this to your application's
dependencies: carbon_smtp_adapter: github: your-github-user/carbon_smtp_adapter
require "carbon_smtp_adapter" # configure your base email class to use the smtp adapter: BaseEmail.configure do |setting| settings.adapter = Carbon::SmtpAdapter.new end
By default, carbon will try to deliver the email to an smtp server running on
localhost and listening on port
25. If you need different settings, you can
configure the following (values shown are the defaults):
Carbon::SmtpAdapter.configure do |settings| settings.host = "localhost" settings.port = 25 settings.helo_domain = nil settings.use_tls = true settings.username = nil settings.password = nil end
git checkout -b my-new-feature)
git commit -am 'Add some feature')
git push origin my-new-feature)
With many thanks to: