Media image ignored (in batch only) with Symfony Mailer

Created on 10 June 2022, over 2 years ago
Updated 5 December 2024, about 2 months ago

Problem/Motivation

An Article emailed using the "Send test message" includes all embedded media images but when the full issue is sent, the media is ignored.

Steps to reproduce

  1. We use symfony mailer rather than swift mailer
  2. Create Article with media field and media embedded via CKEditor
  3. "Send Testmessage" result is as expected. Test message contains media.
  4. "Send issue" unexpected result. No media images in messages.

Successful Test message debug

BEGIN OUTPUT from 'themes/contrib/pellucid_olivero/templates/node--article--email-html.html.twig' 
BEGIN OUTPUT from 'core/themes/olivero/templates/field/field.html.twig' 
BEGIN OUTPUT from 'core/themes/olivero/templates/content/media.html.twig'
BEGIN OUTPUT from 'core/themes/olivero/templates/field/field.html.twig' -->
.
.
.
etc. ....

Unsuccessful Issue message debug


BEGIN OUTPUT from 'themes/contrib/pellucid_olivero/templates/node--article--email-html.html.twig' 
BEGIN OUTPUT from 'core/themes/olivero/templates/field/field.html.twig'

!!No media!!

BEGIN OUTPUT from 'core/themes/olivero/templates/field/field--text-with-summary.html.twig' 
πŸ› Bug report
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom iainH

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States goose2000

    I know this is closed but I just wanted to add, a pretty similar experience (some module differences). I can send test emails that look great with images (media library), inline CSS, etc.

    Then I went to send the real campaign, no images. I am using:

    D 10.3.10
    Media
    Media Library
    Mime Mail: 8.x-1.0-alpha6
    Mail System : 8.x-4.5
    SMTP: 8.x-1.4
    Simplenews : dev-4.x 6c01c1f

Production build 0.71.5 2024