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

                             




                                                                                    

     
# frozen_string_literal: true

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