Commerce Order Receipt Missing Images

Created on 10 April 2024, 3 months ago
Updated 11 April 2024, 3 months ago

Problem/Motivation

Using Commerce Order Receipt template, images sporadically are missing.

Steps to reproduce

Create commerce order

I see that work is being done to use tokens in the Symfony mail policies, which is great. But we send out a complex commerce order receipt template, using embedded views for order information, etc. Most of the time messages are sent with all of the images, but occasionally they are missing (testing primarily in Google Mail).

Is there something we're missing?

πŸ› Bug report
Status

Active

Version

1.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States thalemn

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

Comments & Activities

  • Issue created by @thalemn
  • πŸ‡¬πŸ‡§United Kingdom AdamPS

    I can't think of any reason for this. Using a complex mail structure should make no difference to this module - it is the Drupal rendering system that generates the content and this module just inserts it into the email template using the Twig template.

    Is it possible that the intermediate mail servers or client are filtering out images? You could log the email as it leaves your Drupal server and check the result.

    As developers we don't like intermittent bugsπŸ˜ƒ. Is it possible that the images are missing according to a specific condition - such as the contents of the cart, or who is logged in? Or can you place an identical order time and time again, with random failures?

Production build 0.69.0 2024