Closed (duplicate)
Project:
Mime Mail
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2009 at 14:39 UTC
Updated:
22 Apr 2010 at 19:30 UTC
We had some issues with the latest dev. Rolling back to the version of 2009-02-22 solved these problems:
Using simplenews 6.x-1.0-rc6:
simplenews statistics and analytics were also used.
Comments
Comment #1
jean-bernard.addor commentedWe also had big trouble with 6.x-1.x-dev 2009-Apr-15, as the only other version mentionned on http://drupal.org/node/37911/release was 2008-09, I reverted to that one. I would apreciate to have numbered version for those cases.
Using simplenews 6.x-1.0-rc6, the following has been observed:
• caracters improperly coded (unknown web client of cooptel.qc.ca)
• empty body with no instruction to open an attachment (squirelmail)
• colorless text, including colorless and almost invisible links (yahoo)
I do not remember to have enabled Mime Mail CSS Compressor, so it was probably not enabled and the module was removed before I heard of it. Should I have enabled it ?
Now I just enabled Mime Mail CSS Compressor on a test website and here is a sample of that I find in my mail. Maybe it explains the colorlessness, the used theme is foliage, which gives color to h2 and h3 titles by css. It appear colorless with icedove and squirrelmail and as an empty message with no attachment with squirrelmail.
H2
Link
In a way, it looks like something one would like to print. I do not remember how to proove it but it look like if some code from a printing css was used, like the following one!
http://alimentsdici.info/sites/alimentsdici.info/themes/foliage/print.css
I could make a test in switching the site theme to Garland. I do it and
obtain a nice underlined blue link with the following code, h2 is not colored by Garland:
At this point, I have the impression that Mime Mail takes into acount the print.css file from Foliage (6.x-1.5 2008-Aug-25 or 6.x-4.x-dev 2008-Aug-24) . By comparison, Iceweasel does this only if asked. To correct the bug, Mime Mail or Foliage has to be modified. These observations have been communicated in specific reports to both teams:
#443964: Skip style sheets with print media
#443970: Mime Mail and print.css compatibility issue
At this point, I could also try to understand the problem observed with SquirrelMail 1.4.10a, but this is very low priority, I do not know enought of html mail standard.
Mime Mail works fairly good. Using simplenews with hotmail, the text/plain version of the email is displayed without any way to switch to text/html. I am curious to know if links can be underlined when below the mouse? Mail clients which gave an good rendering where: Icedove (Thunderbird), Claws Mail gtkhtml2, Fastmail, GMail and Yahoo.
Both module of Mime Mail 6.x-1.x-dev 2009-Apr-15 have been installed and some of the css of the theme have been modified.
That is the command used here to revert to an old dev version:
Comment #2
keesje commented-double post-
Comment #3
keesje commentedIssues confirmed,
Biggest issue seems to be missing/unrecognised base64 encoded images, depending on mailclient.
In my tests Apple mail, Outlook Express, Outlook 2007 do show included images as missing.
Only Gmail and Thunderbird are showing the images without problems.
I also reverted to recent version with less problems.
I use mimemail with the php.tpl template method, I had to add a theme override to force clean HTML output and prevent inclusion of irrelevant style attributes:
function phptemplate_mimemail_message($body, $mailkey = NULL) {
return $body;
}
Works for me.
Comment #4
mindgame commentedI'm using Mime Mail 6.x-1.x-dev (2009-Apr-15) and Simplenews 6.x-1.0-rc6.
The following error occured after updating Mime Mail from the previous dev version (2009-Feb-22 ?).
When sending a test newsletter with embedded images to two or more recipients (as we did successfully before) only the first recipient's mail will contain the images.
I tested on a GMail account and when inspecting the email's html code I found that the img-tags were there but the src-attribute was missing.
Then I had a look here
http://drupal.org/project/cvs/37911
at Commit #174768 where a patch was applied about "duplicate image items".
When I remove the three lines dealing with $filenames in function _mimemail_file() of mimemail.inc, i.e. I undo the patch
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/mimemail/mi...
then the missing images appear again.
(Quick fix, didn't go deeper so far.)
Comment #5
ratnesh aarohi commentedGlad that i got to this thread - as i too was breaking my head why certain images where not being emailed.
My question is how do i get the previous dev version (2009-Feb-22) so that i too can roll back?
When i goto http://drupal.org/node/37911/release i think (for 6.x) i am getting only the latest (april) file.
Or if somebody can guide a non techie like me to solve this problem in any other way.
thanks
Comment #6
nicksanta commentedHey guys, has there been any progress on this issue?
Comment #7
nicksanta commentedif you're using linux or osx, use this command to get the 2009-2-22 dev version (last stable one from all above accounts)
Comment #8
webel commentedComment #9
webel commentedI am getting some images missing on arrival, and I can't figure out a pattern to which images are not sent, some are ok, and it is not size and it is not type (jpg, gif, png).
@mindgame I read this but my version mimemail-6.x-1.x-dev.tar.gz did not seem to have $filenames anywhere:
I have: mimemail-6.x-1.x-dev.tar.gz:
/* $Id: mimemail.inc,v 1.31.2.2 2009/02/22 01:58:24 jerdavis Exp $ */And I have "applied" the patch mimemail_2.patch by hand (because otherwise it failed) to ensure headers not mangled (reported elsewhere):
I state that only for completeness, I don't think it's relevant to the image sending problem.
Comment #10
webel commentedCan somebody please release an improved version or a patch against a clearly known and downloadable version that incorporates both this fix and the fixes for the the known problems with subject mangling in HTML mails ?
Comment #11
webel commented@mindgame I'm not sure that $filenames is the cause of my missing images, as it is not present in mine:
Comment #12
webel commented@askibinski May I observe that 'Problems with latest dev version' is not a very useful bug report title; it adds no more information than the metadata for the bug report. If it's a bug then clearly there are problems, and the version given for the issue says it is dev, and in the future the title 'latest' won't be true anyway. I'm creating a new bug report 'Some images missing after sending test email' or similar for just that aspect of the problems.
Comment #13
webel commentedI noticed @mindgames referred to this from #450806: Simplenews Embedded Images Not Displayed/Attached by intrafusion - May 1, 2009 - 15:58.
I will continue my report on the missing images problem there, applying the quick fix tip from mindgames to "the latest dev version"
/* $Id: mimemail.inc,v 1.31.2.3 2009/04/14 23:08:59 jerdavis Exp $ */Comment #14
webel commentedI've moved my bug report contribution to #450806: Simplenews Embedded Images Not Displayed/Attached
Comment #15
webel commentedVanishing image problem resolution (of sorts) reported at http://drupal.org/node/450806#comment-1597704.
Comment #16
grim assim commentedmy 2 cents
big thanks to mindgame, your solution was flawless :)
removal of http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/mimemail/mi... the 1.40patch from my site fixed this for me
Mime Mail 6.x-1.x-dev (2009-Apr-15)
Simplenews 6.x-1.x-dev (2009-May-16)
Comment #17
New-WebMaster commentedi am getting the following error when tryin to send email using the website that i take care of...
Unable to send e-mail. Please contact the site administrator if the problem persists.
Your message has been sent.
can any1 help me...
Comment #18
jwaxman commentedThe first thing to do would be to make sure it either is or isn't a Mimemail issue.
Switch over to plain text and see what happens.
What module is sending out the mail?
Comment #19
sebastian.grow commentedI've been trying to solve this issue on my own for quite a bit now, but either I'm looking in the wrong places or I am just missing something..
Drupal: 6.13
simplenews: 6.x-1.0-rc6
Mime Mail: 6.x-1.x-dev (2009-Jun-08)
I already tried the patch mentioned above, also tried removing it again.. no success..
The Problem I'm having is, that for some reason, only the first email is embedding images correctly.
And here's where the weird part starts:
This only occurs on SOME emails, to SOME Recipients only SOMETIMES.
If I send a test newsletter to 2 of MY email addresses, everything works fine. As soon, as I try sending it to several different emails, only the first email, received by an Outlook using user, is showing the embedded images correctly.
I'm using Apple Mail and also checked on Outlook 2007 via Parallels with the same email address and also different email addresses..
So, I just don't get, why sometimes the images are embedded correctly and in this case attached to the email and sometimes, they are shown as src="cid......@domain.tld"
I also tried disabling the download method private and setting it back to public, but no difference..
Also sending a real newsletter (so no test) is only working on Apple Mail and only for the first outlook received email..
This is driving me nuts, and I would greatly appreciate any help.
Thanks,
Seba
Comment #20
sebastian.grow commentedSorry for changing the title.. my bad!
Comment #21
ikeigenwijs commentedsubscribing
Comment #22
sgabe commentedSince everybody referring to the missing images when sending multiple messages, I think this issue is a duplicate of #358439: Images are only in the first message.