Patch #3732 » patch_incoming_mail_notify_sender.diff
app/models/mailer.rb | ||
---|---|---|
253 | 253 |
end |
254 | 254 |
|
255 | 255 |
def notify_incoming_error(raw_email) |
256 |
recipients User.active.find(:all, :conditions => {:admin => true}).collect { |u| u.mail }.compact |
|
257 | 256 |
subject 'Incoming mail error notification' |
258 |
orignal_mail = TMail::Mail.parse(raw_email) |
|
259 |
orignal_mail.base64_decode |
|
260 |
body :original_mail =>orignal_mail; |
|
257 |
original_mail = TMail::Mail.parse(raw_email) |
|
258 |
recipients original_mail.sender |
|
259 |
logger.debug original_mail.sender |
|
260 |
original_mail.base64_decode |
|
261 |
body :original_mail =>original_mail; |
|
261 | 262 |
end |
262 | 263 | |
263 | 264 |
# Overrides default deliver! method to prevent from sending an email |
- « Previous
- 1
- 2
- 3
- Next »