diff options
author | Mark Longair <mhl@pobox.com> | 2013-05-21 17:03:08 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-05-21 17:10:21 +0100 |
commit | 6e64eb8fd3a346c24990553f294fb9d1f0ae6bbc (patch) | |
tree | ddc0928bdf57b098c4bd7d60955a10f944fca92e /lib/mail_handler/backends/mail_extensions.rb | |
parent | 46e7df935929793fafb6069fbd272f5a35752e89 (diff) |
Retain old handling of malformed addresses in To and Cc lines
The behaviour of the TMail backend's 'to' and 'cc' methods
where there was a malformed To: or Cc: line was to return
nil, whereas Mail returns a version of the string anyway.
We'd have to change quite a lot of code to deal with an
extra possible class of returned objects, so it's simplest
for the moment to monkey-patch Mail::Message's 'to' and 'cc'
methods to restore the old behaviour.
Diffstat (limited to 'lib/mail_handler/backends/mail_extensions.rb')
0 files changed, 0 insertions, 0 deletions