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

CommentFileSizeAuthor
mark.jpg159.74 KBlennart

Comments

allie micka’s picture

Funky.

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!

lennart’s picture

As 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

lennart’s picture

actually 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.

lennart’s picture

Title: Exclamation mark in title or after title » Exclamation Mark, and other strange characters in title and content
Project: Send » Mime Mail
Version: master » 7.x-1.x-dev
Priority: Normal » Critical

Sometimes 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

allie micka’s picture

Could 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!

lennart’s picture

It 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

lennart’s picture

Priority: Critical » Normal

I 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

quicksketch’s picture

Priority: Normal » Critical

I'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.

allie micka’s picture

Well, 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.

lennart’s picture

Status: Active » Fixed

Beautiful! It works like a charm now - thanks quicksketch and Allie!

Anonymous’s picture

Status: Fixed » Closed (fixed)