Class: Mail::Message
- Inherits:
-
Object
- Object
- Mail::Message
- Defined in:
- lib/mail_actual_recipient.rb
Instance Method Summary collapse
Instance Method Details
#destinations_with_actual_recipient ⇒ Object
6 7 8 9 |
# File 'lib/mail_actual_recipient.rb', line 6 def destinations_with_actual_recipient actual_recipient = header[:actual_recipient] ? [header[:actual_recipient].to_s.gsub(/^.*</, "").gsub(/>/, "")].flatten : [] [actual_recipient].compact.flatten end |