- First commit to issue fork.
- @rishu_kumar opened merge request.
- ๐ฎ๐ณIndia rishu_kumar
When I apply #2 patch.
Patch apply cleanly but I got 2 errors and 1 warning(see attached screenshot) when HTML Mail module check on Upgrade Status module.
So, I create MR for that.
Please review this MR.Thanks
- ๐ซ๐ทFrance Guillaume Aveline
Guillaume Aveline โ made their first commit to this issueโs fork.
- ๐ซ๐ทFrance Guillaume Aveline
Sorry for the multiple push. I squashed my commits into one.
Their was an issue with a deprecated function call "system_sort_modules_by_info_name" (see https://www.drupal.org/node/3225999 โ ) fixed in the branch.
- ๐บ๐ธUnited States tr Cascadia
-core_version_requirement: ^8.8.2 || ^9 +core_version_requirement: ^8.8.2 || ^9 || ^10
This is wrong. Just as one example, it is incompatible with this change:
The function system_sort_modules_by_info_name() is deprecated. โ
because that change will break this module if installed on D8.8.2, D8.9, D9.0, D9.1, or D9.2.Rather than spend time trying to port this module to D10 when it doesn't even work properly in D9, I would like to see get community help for a long-term solution. Please comment in ๐ฑ The future of the HTML Mail module Needs review if having HTML mail support in Drupal 10 is important to you.
- last update
over 1 year ago 1 pass - Status changed to RTBC
over 1 year ago 5:36am 10 May 2023 - ๐ฎ๐ณIndia rahul1707
I have tested MR in #11 with D9 and D10 both, working fine for me and making module D10 compatible. Upgrade status is also showing no error found.
Moving this to RTBC for D10 compatible stable release.
- Status changed to Needs work
over 1 year ago 6:36am 12 May 2023 - First commit to issue fork.
- last update
over 1 year ago 1 pass - ๐ฑ๐ปLatvia maris.abols
Hi,
Is it still possible to release Drupal 10 version? Here is the patch with changes I saw that was needed. In our case we just need to upgrade whole project to Drupal 10 and moving functionality to mimemail module is not reasonable.
- ๐จ๐ฆCanada joseph.olstad
@TR, the solution you suggested seems to be to change this:
core_version_requirement: ^8.8.2 || ^9 || ^10
to this:
core_version_requirement: ^9.3 || ^10
once this change is made to the merge request htmlmail.info.yml file, I think we can put this back to RTBC
- ๐จ๐ญSwitzerland salvis
Or create a 4.x branch for D10 and keep 8.x-3.x available for D8/9?
- First commit to issue fork.
- last update
over 1 year ago 1 pass - Status changed to Needs review
over 1 year ago 12:44pm 1 August 2023 - last update
over 1 year ago 1 pass - Status changed to Needs work
about 1 year ago 10:14am 4 October 2023 - ๐จ๐ญSwitzerland salvis
I sympathize with #17 and #18, and I've created a new branch 4.x for D10 compatibility.
This issue is a mess. Please provide a combined patch including #4, #12, #16, and (if possible) remove the guessMimeType() hack, against 4.x-dev.
- ๐บ๐ธUnited States ruscoe
Patch for comment #13 made against the 4.x-dev branch.
- ๐ฎ๐ณIndia Jeya sundhar Coimbatore
after using this issue repo
D10 site throws
```TypeError: Drupal\htmlmail\Plugin\Mail\HtmlMailSystem::__construct(): Argument #10 ($mimeTypeGuesser) must be of type Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface, Drupal\Core\ProxyClass\File\MimeType\MimeTypeGuesser given, called in /modules/custom/htmlmail/src/Plugin/Mail/HtmlMailSystem.php on line 147 in Drupal\htmlmail\Plugin\Mail\HtmlMailSystem->__construct() (line 109 of modules/custom/htmlmail/src/Plugin/Mail/HtmlMailSystem.php).
``` - ๐ฎ๐ณIndia Jeya sundhar Coimbatore
Oh! mistakenly tested 8.x-3.x
This branch doesn't show that issue - First commit to issue fork.
- last update
about 1 year ago 1 pass - ๐จ๐ฆCanada colan Toronto ๐จ๐ฆ
I merged MR !2 into !5, and fixed the
core_version_requirement
conflict, setting it to D9 and D10 as per #18. Setting it for D10 only is a bad idea because it requires folks to upgrade Drupal core and this contrib module at the same time, which I don't recommend. - last update
about 1 year ago 1 pass - Status changed to Needs review
about 1 year ago 9:41pm 30 October 2023 - ๐จ๐ฆCanada colan Toronto ๐จ๐ฆ
Assuming there are no other problems, MR !5 is good to go. Please review.
Maintainers: If you'd like help with getting this out (merging & cutting a new release), please add me as a co-maintainer; I'll get it done.
- ๐บ๐ธUnited States chadmandoo
I am getting the following error:
TypeError: Drupal\htmlmail\Plugin\Mail\HtmlMailSystem::__construct(): Argument #10 ($mimeTypeGuesser) must be of type Symfony\Component\Mime\MimeTypesInterface, Drupal\Core\ProxyClass\File\MimeType\MimeTypeGuesser given, called in /var/www/html/docroot/modules/contrib/htmlmail/src/Plugin/Mail/HtmlMailSystem.php on line 147 in Drupal\htmlmail\Plugin\Mail\HtmlMailSystem->__construct() (line 109 of /var/www/html/docroot/modules/contrib/htmlmail/src/Plugin/Mail/HtmlMailSystem.php).
I am trying to supply a patch that will fix this issue.
- ๐จ๐ฆCanada colan Toronto ๐จ๐ฆ
@chadmandoo: Please push to the MR as well so that it stays up-to-date. Thanks!
- ๐ฎ๐ณIndia Hemangi Gokhale
The MR looks good! Upgrade patch got applied cleanly to 'composer require drupal/htmlmail:4.x-dev#9abc3ae', using https://git.drupalcode.org/project/htmlmail/-/merge_requests/5.diff
- Status changed to RTBC
10 months ago 2:19am 12 January 2024 - ๐จ๐ฆCanada joseph.olstad
MR 5 by @colan is good
we're using it like this:
dbd771f3
in the repositories section of the composer.json:
"0": { "type": "package", "package": { "name": "drupaloverride/htmlmail", "version": "dev-1", "type": "drupal-module", "dist": { "type": "zip", "url": "https://git.drupalcode.org/api/v4/projects/project%2Fhtmlmail/repository/archive.zip?sha=dbd771f3" } } },
Then:
composer require drupaloverride/htmlmail
- 29af8565 committed on 4.x
Issue #3287920 by colan: Merge branch '3287920-automated-drupal-10' into...
- 29af8565 committed on 4.x
- Status changed to Fixed
10 months ago 1:10am 13 January 2024 - ๐จ๐ฆCanada joseph.olstad
MR 5 was merged in, we've been using it for quite some time.
With that said, here's the rankings in popularity for html mailers:
- mimemail โ 64000+ installs , 24000+ installs for Drupal 8 and about 40,000 installs for Drupal 7.
- Swiftmailer 27,400 + installs deprecated by symfony_mailer โ
- Symfony_mailer โ 23000+ installs
- in last place:
- htmlmail โ
- ๐จ๐ฆCanada joseph.olstad
Here's a dev release
https://www.drupal.org/project/htmlmail/releases/4.0.x-dev โWith that said, please consider switching to Symfony_mailer or mimemail.
There's still 21000 people using htmlmail currently.
Automatically closed - issue fixed for 2 weeks with no activity.