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-7.0.8.7 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.8.6 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.1.7.10 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.1.7.9 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.8.5 lib/action_mailbox/mail_ext/recipients.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/actionmailbox-7.0.8.4/lib/action_mailbox/mail_ext/recipients.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/actionmailbox-7.0.5.1/lib/action_mailbox/mail_ext/recipients.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/actionmailbox-7.0.5.1/lib/action_mailbox/mail_ext/recipients.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/actionmailbox-7.0.5.1/lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.8.4 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.1.7.8 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.8.1 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.1.7.7 lib/action_mailbox/mail_ext/recipients.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/recipients.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionmailbox-7.0.2.3/lib/action_mailbox/mail_ext/recipients.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionmailbox-6.1.6.1/lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.8 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.7.2 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.1.7.6 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.0.7.1 lib/action_mailbox/mail_ext/recipients.rb