method

email_address_with_name

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.