APIdock / Ruby on Rails
/
Browse About
method

register_interceptors

v6.1.7.7 - Show latest stable - Class: ActionMailer::Base
register_interceptors(*interceptors)
public

Register one or more Interceptors which will be called before mail is sent.

# File actionmailer/lib/action_mailer/base.rb, line 480
      def register_interceptors(*interceptors)
        interceptors.flatten.compact.each { |interceptor| register_interceptor(interceptor) }
      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

© 2026 APIdock