instance method
reply_addresses
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
reply_addresses( default = nil )
Returns an array of reply to addresses that the Mail object has, or if the Mail message has no reply-to, returns an array of the Mail objects from addresses. Else returns the default which can either be passed as a parameter or defaults to nil
Example:
mail.from = "Mikel <mikel@lindsaar.net>" mail.reply_to = nil mail.reply_addresses #=> [""]
Parameters
-
defaultopt = nil
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb, line 1048
def reply_addresses( default = nil )
reply_to_addrs(nil) or from_addrs(nil) or default
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb line 1048
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail::Mail