Closed (fixed)
Project:
Mime Mail
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2005 at 03:48 UTC
Updated:
13 Dec 2005 at 17:40 UTC
Thanks for including the title in the send - but after this mod there is a strange exclamation mark sometimes in the midle of the title sometimes after. Attaching file to show.
This was the last bug I have been able to find - I think after these have been fixed the module is good to go!
Great work! Thanks,
Lennart
Comments
Comment #1
allie mickaFunky.
I am simply doing a node_view, so there shouldn't be anything there that's not dictated by the theme. Perhaps it's an encoding problem somehow?
Can you provide a link to your site so I can try to reproduce? Post it here or click on my name and use my contact form.
Thanks a lot for testing so thoroughly!
Comment #2
lennart commentedAs far as I can tell the problem occurs only when special characters are present like æ , ø , å
So you are problably right is has to do with encoding - but it occurs even when UTF-8 is chosen
Comment #3
lennart commentedactually I have an example of a title without any special characters where an exclamation mark is shown just after the title, but in a smaller font - so it is not only with special characters.
Comment #4
lennart commentedSometimes empty spaces ( called whitespaces ? ) are also added into the mail sent by send module
I suppose it has to do with mime mail so I am changing it to there.
Best wishes,
Lennart
Comment #5
allie mickaCould this be a theme problem? Are you able to reproduce it on multiple sites/themes?
I can't reproduce this, so I welcome examples and/or patches.
Thanks!
Comment #6
lennart commentedIt does not seem to be a theme problem. I have tested with friendsElectric, bluemarine, and a custom theme.
With all themes they situationen is similar. Exclamation marks (!) show up in content or title.
I cannot test from other sites as my other sites are running under safe mode
Comment #7
lennart commentedI tried some test posts without any special characters in either content nor title. The problem remains, maybe it has to do with my hosts setup. Marking this normal - maybe I am the only one ith the problem
Comment #8
quicksketchI've seen this problem before when sending via the standard php mail() mechanism. This can occur when sending mail with the UTF-8 encoding and a single line exceeds 998 characters without a line break. When it hits the 999th character, it puts an (!) and a newline (resulting in a space) into the text or html that is sent. Try doing an HTML friendly wordwrap or encode in base64 as this post suggests at the php website.
Comment #9
allie mickaWell, I feel like I'm just taking shots in the dark here since I'm not seeing this issue on my stuff.
I've base64-encoded the HTML part. Please let me know if that works.
Comment #10
lennart commentedBeautiful! It works like a charm now - thanks quicksketch and Allie!
Comment #11
(not verified) commented