Sha256: e6a93746b5fb87a4c0964c09aba5237f06537f08011038b35e8c90b37fa8d864

Contents?: true

Size: 181 Bytes

Versions: 114

Compression:

Stored size: 181 Bytes

Contents

# 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

Version data entries

114 entries across 110 versions & 9 rubygems

Version Path
actionmailbox-6.1.6.1 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.5.1 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.5 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.1.6 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.3 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.2.4 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.1.5.1 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.4.8 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.1.5 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.2.3 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.1.4.7 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.4.7 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.2.2 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.1.4.6 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.4.6 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.4.5 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.1.4.5 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.2.1 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.2 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.1 lib/action_mailbox/mail_ext/recipients.rb