aboutsummaryrefslogblamecommitdiffstats
path: root/actionmailbox/lib/action_mailbox/mail_ext/recipients.rb
blob: a8ac42d60207c447fde30fa1fad73661073c97d9 (plain) (tree)
1
2
3
4
5
6
7

                             

                   
                                                                                  

     
# frozen_string_literal: true

class Mail::Message
  def recipients
    Array(to) + Array(cc) + Array(bcc) + Array(header[:x_original_to]).map(&:to_s)
  end
end