Barcodes are broken in Gmail

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

Problem/Motivation

Gmail strips classes so html QR Code is broken

Steps to reproduce

View with Barcode formatter for field display is embedded into Commerce order receipt. When the receipt is emailed with the Barcode, the classes barcode, barcode-qrcode and code are stripped and the empty divs do not display the code as expected.

We tested both HTML DIV and PDF display formats and both are broken in Gmail. PDF embedded image is not found.

πŸ› Bug report
Status

Closed: works as designed

Version

2.0

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
  • Status changed to Postponed: needs info 3 months ago
  • πŸ‡ΊπŸ‡ΈUnited States TR Cascadia

    Are you saying Gmail removes CSS classes from the markup? That doesn't seem like it has anything to do with this module. That seems like a problem in the mailer software you're using in Drupal. Or are you saying the css files are not included and inlined into the email? That again would be a problem with your Drupal mailer module.

    Are you aware that Drupal can't send HTML emails without a helper module?

    Please provide the complete raw markup of one of these emails as sent, including headers.

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

    I concur that the issue is with the mailer module (symfony). I have posted an issue there. My apologies and this issue can be closed.

  • Status changed to Closed: works as designed 3 months ago
  • πŸ‡ΊπŸ‡ΈUnited States TR Cascadia
Production build 0.69.0 2024