Test email not picking up htmlmail.tpl.php

Created on 12 April 2011, over 13 years ago
Updated 10 May 2023, over 1 year ago

Hi I think I'm doing this right, but html mail doesn't seem to be picking up my htmlmail.tpl.php template file. Here is what I did:

  1. installed html mail version 6.x-2.16
  2. installed mail system version 6.x-1.11
  3. I copied the default htmlmail.tpl.php page from http://drupalcode.org/project/htmlmail.git/blob_plain/refs/heads/6.x-2.x... and placed in my theme folder
  4. On "step 2" on this page admin/settings/htmlmail/settings I chose my theme folder from the dropdown menu that my htmlmail.tpl.php file is located in
  5. On "step 3" on this page admin/settings/htmlmail/settings I chose my new "HTML Email" filter which includes emogrifier, html filter, line break converter, and url filter.
  6. I put the words "hello" right before <?php echo $body; ?> in the htmlmail.tpl.php file in my theme folder to see if that shows up in the test email and it does not show up.
  7. I tried clearing my cache multiple times and tried running cron multiple times and still no "hello" in my emails

Am I doing something wrong?

Many thanks for reading,
-Tim

πŸ› Bug report
Status

Closed: outdated

Version

2.65

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States TimG1

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 Kingdom kenorb

    D8.x, for the reference:

    1. Copy ./modules/contrib/htmlmail/templates/htmlmail.html.twig into themes/custom/YOURTHEME/templates/htmlmail--htmlmail.html.twig
    2. drush twigc
    3. drush cr

Production build 0.71.5 2024