Skip to content

Commit

Permalink
Logs outgoing mail object before sending it
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrove committed Nov 27, 2011
1 parent 7479393 commit ede1b5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bushido/action_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ def perform_delivery_bushido(mail)

unless logger.nil?
logger.info "App allowed to send email, sending via SMTP"
logger.info "Sending:"
logger.info mail.inspect
__send__("perform_delivery_smtp", mail) if perform_deliveries
end
else
Expand Down

0 comments on commit ede1b5d

Please sign in to comment.