diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-11-15 11:07:48 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-11-15 11:31:00 +0000 |
commit | ca7bb3d9f7f7e38ca670dee4352a6c81e2b9d19a (patch) | |
tree | 9bdf24417bfc5d8564e39e1b20cf782f770d4335 /lib/mail_handler/backends/tmail_backend.rb | |
parent | be5e69a7dccaa6c76408f9b7883980bd79bdba28 (diff) |
Move TMail monkey patch to MailHandler Tmail backend.
Diffstat (limited to 'lib/mail_handler/backends/tmail_backend.rb')
-rw-r--r-- | lib/mail_handler/backends/tmail_backend.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/mail_handler/backends/tmail_backend.rb b/lib/mail_handler/backends/tmail_backend.rb index b2d36d65f..e5bfa3f49 100644 --- a/lib/mail_handler/backends/tmail_backend.rb +++ b/lib/mail_handler/backends/tmail_backend.rb @@ -1,3 +1,12 @@ +# Monkeypatch! Adding some extra members to store extra info in. +module TMail + class Mail + attr_accessor :url_part_number + attr_accessor :rfc822_attachment # when a whole email message is attached as text + attr_accessor :within_rfc822_attachment # for parts within a message attached as text (for getting subject mainly) + end +end + module MailHandler module Backends module TmailBackend |