Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Bekomme als Fehler
all/modules/htmlmail/htmlmail.mail.inc on line 188
Und Nochmal die gesamte fehlermeldung Einstellungen liegt auf (DEFAULTMAIL)
Fatal error: Call to undefined function mailsystem_html_to_text() in /www/htdocs/XXXXXXXXXXXXXX/xxxxxx/sites/all/modules/htmlmail/htmlmail.mail.inc on line 188
Comment | File | Size | Author |
---|---|---|---|
#1 | 1723840-Automatically-choose-html_to_text-function.patch | 2.84 KB | znerol |
Comments
Comment #1
znerol CreditAttribution: znerol commentedThis behaviour is caused because mailsystem version 7.x-3.x does not load
mailsystem.html_to_text.inc
automatically on each and every page request usinghook_init
. Attached is a patch forhtmlmail
taking this change into account by selecting and loading the appropriate include file only if necessary.Comment #2
znerol CreditAttribution: znerol commentedActually this is duplicate of #1692966: Incompatible with latest MailSystem code but I favour this solution.
Comment #3
Knuffie CreditAttribution: Knuffie commentedThank you sooooo much for this solution!!!
I was trying for days to get my email working from my drupal site.
This patch was the answer to my problem.
Comment #4
ShaneOnABike CreditAttribution: ShaneOnABike commentedI reviewed and tested this and it worked great!
Comment #5
robcarr+1 - rolled patch #1 against HTML Mail 7.x-2.65 (can't see a DEV release)
Comment #6
ShaneOnABike CreditAttribution: ShaneOnABike commentedCan we roll this into the latest release so we don't have to keep patching the module?
Comment #7
dgtlmoon CreditAttribution: dgtlmoon commentedthis is ugly bug, tested against current, please commit it and make a new version ASAP
Comment #8
DuaelFrTake care of this patch as "enhancedtextmail" is a submodule of mailsystem proposed in a patch but without any evolution for a year.
More, this patch tries to load the file mailsystem.html_to_text.inc which does not exist.
I suggest you to rely on #1692966: Incompatible with latest MailSystem code for the moment.
Comment #9
jacob.embree CreditAttribution: jacob.embree commentedMarking as a duplicate of #1692966: Incompatible with latest MailSystem code.
Comment #10
jacob.embree CreditAttribution: jacob.embree commented