method
email_address_with_name
v8.0.0 -
Show latest stable
- Class:
ActionMailer::Base
email_address_with_name(address, name)public
Returns an email in the format “Name <email@example.com>”.
If the name is a blank string, it returns just the address.