Sha256: 8c14012ee6efec487b7e6c06b87bb145baadf8d2852ec3710857a56bfcb2ccee
Contents?: true
Size: 221 Bytes
Versions: 2
Compression:
Stored size: 221 Bytes
Contents
require 'mail' module MailSafe class MailInterceptor def self.delivering_email(mail) MailSafe::AddressReplacer.replace_external_addresses(mail) if mail end ::Mail.register_interceptor(self) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mail_safe-0.3.1 | lib/mail_safe/rails3_hook.rb |
mail_safe-0.3.0 | lib/mail_safe/rails3_hook.rb |