Script URL: INTERNAL
Version of script: 2.4.2
Hosting company: NA
URL of phpinfo.php: NA
URL of session_test.php: NA
What terms did you try when SEARCHING for a solution:
Write your message below:
Email fetching is working no problem. But when email contents include & in the body, HESK misinterprets the message. Any suggestion?
For example, original email is saying "old & new Employee ...." and imported message in HESK is showing "old font-family:"Arial","sans-serif""> " and the rest is trimmed off. It looks like the ampersand is creating the problem.
ampersand creates problems
Moderator: mkoch227
Re: ampersand creates problems
Could you share a sample email (entire source with headers - you can hide email addresses) so I can check and troubleshoot it?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: ampersand creates problems
I sent to HESK to recreate the problem. Here is the message I sent.
--------------------------------------------------------------------------------
Hello support,
Can you read me? I need a help from you & you & you.
If “you” can help me, that will be ‘wonderful’.
This is a test.
--------------------------------------------------------------------------------
And this is the message I received after email fetch imported to HESK
--------------------------------------------------------------------------------
Hello support,
Can you read me? I need a help from you & you font-family:"Calibri","sans-serif";mso-bidi-font-family:"Times New Roman";mso-no-proof:yes">
If "you" can help me, that will be 'wonderful'.
This is a test.
--------------------------------------------------------------------------------
My company is getting to like HESK a lot. I appreciate your nice effort.
--------------------------------------------------------------------------------
Hello support,
Can you read me? I need a help from you & you & you.
If “you” can help me, that will be ‘wonderful’.
This is a test.
--------------------------------------------------------------------------------
And this is the message I received after email fetch imported to HESK
--------------------------------------------------------------------------------
Hello support,
Can you read me? I need a help from you & you font-family:"Calibri","sans-serif";mso-bidi-font-family:"Times New Roman";mso-no-proof:yes">
If "you" can help me, that will be 'wonderful'.
This is a test.
--------------------------------------------------------------------------------
My company is getting to like HESK a lot. I appreciate your nice effort.
Re: ampersand creates problems
Hmm, I can't seem to be able to duplicate the issue, it could be due to the way emails are coded.
Could you send a test email to pop3test (AT) hesk (DOT) com so I can run in through my test setup?
Could you send a test email to pop3test (AT) hesk (DOT) com so I can run in through my test setup?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: ampersand creates problems
I was about sending you some test email. But I thought it could simply be a PHP set up issue. So I looked through PHP.INI and I noticed mbstring extension was on but all settings under [mbstring] were commented out. So I uncommented all. Bingo! It started working fine.
Thanks for your time to investigate this issue. You gave me the direction to check.
Thanks for your time to investigate this issue. You gave me the direction to check.
-
- Posts: 1
- Joined: Tue Apr 09, 2013 12:43 pm
Re: ampersand creates problems
Hi
This sounded promising but when I check my php.ini all references to mbstring are already commented out.
Anymore ideas?
Thanks
This sounded promising but when I check my php.ini all references to mbstring are already commented out.
Anymore ideas?
Thanks
Re: ampersand creates problems
Are you on a Windows or Linux server?
If on Windows, is the line also uncommented (in other words: does the line with this text start with ; ?
If on Windows, is the line
Code: Select all
extension=php_mbstring.dll
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools