method
email_address_with_name
v7.1.3.4 -
Show latest stable
- Class:
ActionMailer::Base
email_address_with_name(address, name)public
Returns an email in the format “Name <[email protected]>”.
If the name is a blank string, it returns just the address.