instance method
email_address_with_name
Ruby on Rails 7.2.3
Since v6.1.7.10Signature
email_address_with_name(address, name)
Returns an email in the format “Name <email@example.com>”.
If the name is a blank string, it returns just the address.
Parameters
-
addressreq -
namereq
Source
# File actionmailer/lib/action_mailer/base.rb, line 679
def email_address_with_name(address, name)
self.class.email_address_with_name(address, name)
end
Defined in actionmailer/lib/action_mailer/base.rb line 679
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::Base