lib/mack-notifier/delivery_handlers/sendmail.rb in mack-notifier-0.7.0.1 vs lib/mack-notifier/delivery_handlers/sendmail.rb in mack-notifier-0.7.1

- old
+ new

@@ -1,10 +1,10 @@ module Mack module Notifier module DeliveryHandlers # :nodoc: # Delivers Mack::Notifier objects using sendmail. - module SendMail + module Sendmail def self.deliver(mail) sendmail_settings = app_config.notifier.sendmail_settings sendmail_settings.symbolize_keys! sendmail_args = sendmail_settings[:arguments] @@ -14,8 +14,12 @@ sm.flush end end end # SendMail + + # Alias of SendMail to Sendmail + SendMail = Sendmail # :nodoc: + end # DeliveryHandlers end # Notifier end # Mack \ No newline at end of file