Ruby on Rails latest stable (v5.2.3) - 0 notes - Superclass: Object

Implements 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:



PATTERN = /src=(?:"cid:[^"]+"|'cid:[^']+')/i


Show files where this class is defined (1 file)
Register or log in to add new notes.