Closed (fixed)
Project:
Printer, email and PDF versions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2008 at 14:40 UTC
Updated:
19 Feb 2009 at 17:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
jcnventuraAlthough not completely a duplicate, the root cause is the same as the one for #333046: Filters not applied when sending an e-mail.
Comment #2
oscarelloo commentedSame problem here, but with the latest 6.x dev-version. Emails contains only Message, Title and Footer. No content. I read in the other thread you mentioned that the issue was fixed in all the dev-versions. Am I doing something wrong or does this function not work at all right now?
I'm using Drupal 6.6. and the latest Print dev-build.
Thanks!
/ Oscar
Comment #3
jcnventuraHi,
It does work (and in my tests perfectly since October 22). Does the HTML printer-friendly page output the contents of the node correctly?
João
Comment #4
oscarelloo commentedHi
Yes, the HTML printer-friendly page looks perfect! I tried the module on a different site, and that worked just fine. The difference between the two is that I'm using only CCK fields on the website that doesn't work. On the site that do work, I only use the Body field. So I guess that there is an issue between CCK-fields and the Email function?
Comment #5
jcnventuraAfter the October 22 patch, the contents of the e-mail and the HTML version should be exactly the same (there was a bug that prevented the code from working as designed in the e-mail version that was fixed at that time).
I can't imagine why the output would be different between those two versions in current versions of the code, so please just delete the whole print folder, re-download and re-install everything, and I have 99% confidence that that will fix your problem.
João
Comment #6
alex72rm commentedI've now installed the latest dev version for 5.x Drupal branch.
Print version: OK
email version... mostly unreadable.
I've attached the two versions.
Alessandro
Comment #7
jcnventuraAre you using the mimemail module?
João
Comment #8
alex72rm commentedYes. Is it a problem?
Alessandro
Comment #9
jcnventuraThere is a known problem with mimemail and this module.. The mails created by this module are already MIME, and mimemail falls on its a** trying to re-MIME it.
So, try to disable mimemail and check if it that doesn't solve the problem.. Also I would appreciate if you could send me a copy of the test to the e-mail address which I have just sent to you in a PM (IE is altering the HTML while saving it to disk, so I would prefer the original).
Thanks,
João Ventura
Comment #10
alex72rm commentedOk, I have re-installed the latest -dev version of print module.
If I disable the mime mail option, all the output is right (as for print version).
My question is now on others modules that use that mime mail option flagged (simplenews?).
Another one: As you wrote, the email is already MIME... maybe it should be better to hand this function by mimemail module (when installed). What do you think about?
Alessandro
Comment #11
jcnventuraHi,
I am planning to use mimemail for some more advanced features of that module. I will detect if the mimemail module exists and use these features, if not I will use the current code. Your suggestion, however means:
1. I have to modify the print_mail module to reduce it's capability to non-MIME to make it compatible with mimemail.
2. The new print_mail module would require the installation of mimemail, while the current one doesn't.
The above doesn't make sense at all. The solution would be for the mimemail module author to fix its module to not mess up the output when the incoming mail is already valid MIME. The issue has already been reported (it's #327709: Filtering system causing problems with upstream modules).
João
Comment #12
alex72rm commentedYes... a funny problem (which module should decide?)
Anyway, this issue is solved then can be closed.
Many thanks for your support (always very quick)
Alessandro
Comment #13
amortiz commentedSame issue here, only mimemail isn't installed on my build. I'm using Drupal 6 and the corresponding version of the print module, but no go. I'm attaching pictures of the same post, first printed then emailed. Any ideas?
Comment #14
jcnventuraI discovered the source of the problem: the input filters of the Mime Mail module. If you set the filter to 'PHP code', the mail goes through cleanly.
I have added a warning message to Drupal's status report warning the user of the problem when the conflicting settings are set and advising the user to change them to a 'good' setting.
João