class InlinePreviewInterceptor
Ruby on Rails 5.0.7.2
Since v4.1.16Implements a mailer preview interceptor that converts image tag src attributes that use inline cid: style urls to data: style urls so that they are visible when previewing an HTML email in a web browser.
This interceptor is enabled by default. To disable it, delete it from the ActionMailer::Base.preview_interceptors array:
ActionMailer::Base.preview_interceptors.delete(ActionMailer::InlinePreviewInterceptor)
Inherits from
Includes
Constants
Private methods (5)
Show private methods Implementation detail — not part of the public API.
- # data_url
- # find_part
- # html_part
- # html_source
- # message
Methods (inherited)
From Object
(25)
- # <
- # acts_like?
- # blank?
- # change
- # create_fixtures
- # deep_dup
- # destroy
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # perform
- # presence
- # presence_in
- # present?
- # subscribed
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # unsubscribed
- # with_options
- self. table_name_prefix