instance method
bcc
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
bcc( default = nil )
Returns who the email bcc’d as an Array of email addresses as opposed to an Array of TMail::Address objects which is what Mail#to_addrs returns
Example:
mail = TMail::Mail.new mail.bcc = "Mikel <mikel@me.org>, another Mikel <mikel@you.org>" mail.bcc #=> ["mikel@me.org", "mikel@you.org"]
Parameters
-
defaultopt = nil
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb, line 292
def bcc( default = nil )
addrs2specs(bcc_addrs(nil)) || default
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb line 292
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail::Mail