Both the subject and reply-to are getting extra white space. The subject after, and the reply-to it is before. I looked at the headers and it says my subject is this:
Subject: =?UTF-8?B?aGVsbG8gd29ybGQgaGVsbG8gd29ybGQK?=
Which I'm not sure is right.
Also the CSS combiner doesn't handle escape characters very well such as ' ' which it just turns into '???' also I'm using the simplenews statistics which adds an image url that has an ampersand (&) for multiple variables sent to the statistics php. The ampersand gets turned into an escape entity '&'. This actually happens twice, also in the click through link. Maybe there should be a rule that if ampersands are in an tag in the 'href' attribute don't convert them?
Comment | File | Size | Author |
---|---|---|---|
#6 | mimemail_extraspace.png | 7.59 KB | dboulet |
#4 | Snapshot 2009-03-02 22-12-20.jpg | 34.47 KB | jerdavis |
Comments
Comment #1
jerdavisCan you send a sample message to mimemail at advantagelabs.com?
Comment #2
jerdavisComment #3
danielkorte CreditAttribution: danielkorte commentedJust sent it..
Comment #4
jerdavisThis is what I received on this end - could you screenshot what you're expecting to see from your edit window?
Comment #5
Daniel KorteI had to sign up with a different name because my danielkorte account was blocked for some reason.
Anyway, I suppose the special characters might be a problem with the Simplenews module. But the headers are still receiving extra spacing in the above stated places.
Comment #6
dboulet CreditAttribution: dboulet commentedGetting the same problem with the extra whitespace, here's a screen shot of what it looks like in Mail.
Comment #7
dboulet CreditAttribution: dboulet commentedStill getting the problem with the extra whitespace. I noticed that if I change line 224 of mimemail.module so that it does not pass the subject through mime_header_encode(), then everything is displayed as it should be. I still can't figure out why that is.
Comment #8
nsciaccamimemail.module - 6.x-1.x-dev
line 119
If you remove the 'drupal_html_to_text' and leave just the mime_header_encode, everything works fine.
I'm not sure if this causing issues with HTML in the subject, but then again, why would there be HTML in the subject and reply-to? I think the mime_header_encode function would take care of the HTML anyways. I didn't make a patch, but if someone else could test this that would be great.
Comment #9
mhdg CreditAttribution: mhdg commenteddid the change as described in #8, and result is much better. In fact the header was encoded two time without this patch !
Comment #10
sgabe CreditAttribution: sgabe commentedClosing this issue, since the problem has been solved
long, long ago. Other things should be reported in separate issues.
Comment #11
ArtActivator.com CreditAttribution: ArtActivator.com commentedNot resolved. What about Reply-To and From headers? it also have a space, if it will be long than x characters. all was fine while my from address contained only email. Now I added name, like name , and space appeared...
Comment #12
sgabe CreditAttribution: sgabe commentedHopefully ekidman will post his findings here soon and we will have a possible fix for this.
Comment #13
sgabe CreditAttribution: sgabe commentedClosing this issue in favor of #2185909: Extra space in long header fields.
Comment #14
sgabe CreditAttribution: sgabe commented