Sha256: f02167946cb08fd2f23f79f56705fefd9ae1eedeafd39783dce9736abe756a52

Contents?: true

Size: 234 Bytes

Versions: 34

Compression:

Stored size: 234 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) +
        Array(header[:x_forwarded_to]).map(&:to_s)
    end
  end
end

Version data entries

34 entries across 34 versions & 4 rubygems

Version Path
actionmailbox-7.2.0.beta3 lib/action_mailbox/mail_ext/recipients.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/actionmailbox-7.1.3.4/lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.2.0.beta2 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.1.3.4 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.2.0.beta1 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.1.3.2 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.1.3.1 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.1.3 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.1.2 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.1.1 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.1.0 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.1.0.rc2 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.1.0.rc1 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-7.1.0.beta1 lib/action_mailbox/mail_ext/recipients.rb