Sha256: f4a8bac8e1925b6e66f8269f549ec6eb0be059fa1f845e8ac40d4c1fea4970d3
Contents?: true
Size: 873 Bytes
Versions: 1
Compression:
Stored size: 873 Bytes
Contents
require 'rails' require "mailsafe/version" require "mailsafe/railtie" require "mailsafe/change_subject_interceptor" require "mailsafe/reroute_interceptor" require "mailsafe/receipient_whitelist" module Mailsafe def self.setup yield self end # add the name of the rails environment to the subject line (e.g. "[development] original email subject") mattr_accessor :prefix_email_subject_with_rails_env @@prefix_email_subject_with_rails_env = false # specify one or more domains (comma separated) that are allowed to receive emails all emails # to other domains are dropped. If empty, all emails are allowed to all # domains mattr_accessor :allowed_domain @@allowed_domain = nil # re-route all email to a single receiver. Use in development to route all mail to the developer. mattr_accessor :override_receiver @@override_receiver = nil end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mailsafe-0.1.0 | lib/mailsafe.rb |