instance method
reply_to=
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
reply_to=( *strs )
Destructively sets the “Reply-To:” field to the passed array of strings (which should be valid email addresses)
Example:
mail = TMail::Mail.new mail.reply_to = ["mikel@abc.com", "Mikel <mikel@xyz.com>"] mail.reply_to #=> ["mikel@abc.org", "mikel@xyz.org"] mail['reply_to'].to_s #=> "mikel@abc.com, Mikel <mikel@xyz.com>"
Parameters
-
strsrest
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/interface.rb, line 467
def reply_to=( *strs )
set_string_array_attr 'Reply-To', strs
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/interface.rb line 467
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail::Mail