instance method bcc=

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

bcc=( *strs )

Destructively sets the “Bcc:” field to the passed array of strings (which should be valid email addresses)

Example:

mail = TMail::Mail.new
mail.bcc = ["mikel@abc.com", "Mikel <mikel@xyz.com>"]
mail.bcc #=>  ["mikel@abc.org", "mikel@xyz.org"]
mail['bcc'].to_s #=> "mikel@abc.com, Mikel <mikel@xyz.com>"

Parameters

strs rest
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb, line 331
    def bcc=( *strs )
      set_string_array_attr 'Bcc', strs
    end

Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb line 331 · View on GitHub · Improve this page · Find usages on GitHub

Defined in TMail::Mail

Type at least 2 characters to search.

↑↓ navigate · open · esc close