Problem/Motivation

Educare applies the Easy Email Express recipe. Easy Email Theme then takes the email logo from the default theme, Educare Theme - Bootstrap 5, whose logo is logo.svg. Many email clients cannot show SVG, including Outlook for Windows and Gmail webmail, so those readers get an email with no logo. Varbase Starter fixed the same problem in #3637289.

Easy Email Theme is a hidden theme, so there is no settings form to change the email logo, and easy_email_theme.settings does not exist on a fresh install.

Steps to reproduce

  1. Install Varbase 11.0.x-dev with Educare 1.0.x-dev.
  2. Send an HTML email, for example a password reset.
  3. The logo is an SVG image. It does not show in Outlook for Windows or Gmail webmail.
  4. ddev drush config:get easy_email_theme.settings reports that the config does not exist.

Proposed resolution

Ship config/easy_email_theme.settings.yml in the recipe with logo.use_default: false and logo.path: themes/contrib/vartheme_bs5_educare/logo-email.png, the PNG added in #3637900.

It is a config file, not a simpleConfigUpdate action in recipe.yml like the Gin, Gin Login and Navigation logos: those configs exist when the action runs, but easy_email_theme.settings does not, and simpleConfigUpdate cannot create missing config. Recipes only create config that does not exist yet, so sites that already set an email logo keep it. Same as Varbase Starter in #3637289.

Depends on #3637900 being released first. Until then the path points at a missing file and emails show no logo, as today.

Remaining tasks

  • ✅ File an issue
  • ❌ Addition/Change/Update/Fix
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support
  • ➖ User Guide Documentation support
  • ➖ UX/UI designer responsibilities
  • ❌ Accessibility and Readability
  • ❌ Reviewed by a human
  • ❌ Code review by maintainers
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ✅ Update Release Notes
  • ✅ Release educare-1.0.10

User interface changes

  • The logo shows in HTML emails in clients that cannot render SVG.

API changes

  • N/A

Data model changes

  • Adds easy_email_theme.settings config to the recipe.

Release notes snippet

  • HTML emails now use a PNG logo that shows in Outlook and Gmail.

AI-Generated: Yes

Issue fork educare-3637903

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rajab natshah created an issue. See original summary.

rajab natshah’s picture

Status: Active » Needs review
Related issues: +#3637289: Use a PNG logo in HTML emails instead of the SVG site logo

  • rajab natshah committed 9dafb50a on 1.0.x
    fix: #3637903 Use a PNG logo in HTML emails instead of the SVG site logo
    
rajab natshah’s picture

Issue summary: View changes
Status: Needs review » Fixed
Issue tags: +educare-1.0.10

✅ Released in educare 1.0.10

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.