method
email_address_with_name
rails 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.