This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Model: | |
class ExceptionMailer < ActionMailer::Base | |
def exception_notification(ex, request, sent_at = Time.now) | |
subject "Answerwise Exception: #{ex.class} - #{ex.message}" | |
recipients 'mfrosengarten@gmail.com' | |
from 'mfrosengarten@gmail.com' | |
sent_on sent_at | |
NewerOlder