Error in emails
Moderator: mkoch227
-
- Posts: 45
- Joined: Wed Apr 01, 2015 10:33 am
Error in emails
Script URL:
Mods for HESK version: 2018.1.0
HESK version: 2.8.1
Hosting company:
URL of phpinfo.php:
URL of session_test.php: OK
What terms did you try when SEARCHING for a solution: MIME
Write your message below:
Since updated HESK to 2.8.1 and MfH to 2018.1.0 I get the emails in plaintext starting with this code: https://pastecode.xyz/view/raw/4f67651c
Then, there is the plaintext email's-text, and then the html email's-text.
Could be a translation's error?
Mods for HESK version: 2018.1.0
HESK version: 2.8.1
Hosting company:
URL of phpinfo.php:
URL of session_test.php: OK
What terms did you try when SEARCHING for a solution: MIME
Write your message below:
Since updated HESK to 2.8.1 and MfH to 2018.1.0 I get the emails in plaintext starting with this code: https://pastecode.xyz/view/raw/4f67651c
Then, there is the plaintext email's-text, and then the html email's-text.
Could be a translation's error?
Óscar
Re: Error in emails
Does this happen when HTML-enabled emails are turned on? If yes, does it still happen when HTML-enabled email are turned off?
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
-
- Posts: 45
- Joined: Wed Apr 01, 2015 10:33 am
Re: Error in emails
Mods for HESK version: 2018.1.0
HESK version: 2.8.1
I also have the same since updating. I get a similar header but wont allow me to post it in this reply. when html is on or off.
Also when Allow Html email is switched on I get the body of the message twice. Once in plain text and once html formatted. It does not autoselect the correct template.
HESK version: 2.8.1
I also have the same since updating. I get a similar header but wont allow me to post it in this reply. when html is on or off.
Also when Allow Html email is switched on I get the body of the message twice. Once in plain text and once html formatted. It does not autoselect the correct template.
Re: Error in emails
OCReactive or lcockell: Can one of you PM me one of the emails that looks incorrect? Please make sure you send the "original message" (which contains all of the email headers). I just sent a "New ticket" email from the demo site and it came out correct, but I want to make sure that it's not gmail auto-correcting anything 

Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: Error in emails
Thanks OCReative for the example. Can one (or both of you) try making the following change and see if it resolves the issue?
In email_functions.inc.php, find (line 574):
replace with:
Then go ahead and save, upload, and test. I'm wondering if the stray new line at the end of the header is causing issues with some mail clients.
In email_functions.inc.php, find (line 574):
Code: Select all
"Message-ID: " . hesk_generateMessageID() . "\n",
Code: Select all
"Message-ID: " . hesk_generateMessageID(),
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: Error in emails
That seems to have fixed the problem for me.
-
- Posts: 45
- Joined: Wed Apr 01, 2015 10:33 am
-
- Posts: 2
- Joined: Mon Feb 05, 2018 5:28 pm
Re: Error in emails
Great!
Worked for me!
Thanks a lot.
Worked for me!
Thanks a lot.
-
- Posts: 5
- Joined: Wed Oct 04, 2017 2:39 pm
Re: Error in emails
I had the same issue when I upgraded today. I just made the change to that line and it worked for me.