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.0.2.1 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.2 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.2.rc2 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.2.rc1 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.1 lib/action_mailbox/mail_ext/recipients.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/actionmailbox-6.0.0/lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.1.rc1 lib/action_mailbox/mail_ext/recipients.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/actionmailbox-6.0.0/lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.0 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.0.rc2 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.0.rc1 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.0.beta3 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.0.beta2 lib/action_mailbox/mail_ext/recipients.rb
actionmailbox-6.0.0.beta1 lib/action_mailbox/mail_ext/recipients.rb