APIdock / Ruby on Rails
/
Browse About
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.

# File actionmailer/lib/action_mailer/base.rb, line 685
    def email_address_with_name(address, name)
      self.class.email_address_with_name(address, name)
    end

Related methods

  • Instance methods
  • attachments
  • email_address_with_name
  • headers
  • mail
  • mailer_name
  • process
  • Class methods
  • controller_path
  • default
  • default_options=
  • deliver_mail
  • email_address_with_name
  • mailer_name
  • new
  • register_interceptor
  • register_interceptors
  • register_observer
  • register_observers
  • unregister_interceptor
  • unregister_interceptors
  • unregister_observer
  • unregister_observers
  • Private methods
  • privatemethod_missing
  • privateobserver_class_for
  • privaterespond_to_missing?
  • privateset_payload_for_mail
  • privatesupports_path?
  • private_protected_ivars
  • privateapply_defaults
  • privateassign_headers_to_message
  • privatecollect_responses
  • privatecollect_responses_from_block
  • privatecollect_responses_from_templates
  • privatecollect_responses_from_text
  • privatecompute_default
  • privatecreate_parts_from_responses
  • privatedefault_i18n_subject
  • privateeach_template
  • privateinsert_part
  • privateinstrument_name
  • privateinstrument_payload
  • privateset_content_type
  • privatewrap_inline_attachments
APIdock API Documentation Browser

Swarmia helps you measure DX Core 4 metrics that actually matter.

© 2026 APIdock