Closed (fixed)
Project:
Printer, email and PDF versions
Version:
7.x-1.0
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2012 at 00:10 UTC
Updated:
10 May 2012 at 16:27 UTC
When using this module, and sending an email, all I get in the email is raw html code. I believe this is due to the fact that there is a string of %20%20%20%20... after the tag in the email. Where should I look to fix this?
Comments
Comment #1
jcnventuraWhich modules do you have installed (specifically Mime or mail handling modules)?
Comment #2
kd8fre commentedI have Mime Mail, Mime Mail Actions and Mail System installed for mail handling.
Comment #3
damatmadeforcom commentedSame problem.
Comment #4
alex.castillo commentedI'm having the same problem. Any ideas?
Comment #5
jcnventuraApparently when using mimemail, the MimeMailSystem (which is activated by default) is incompatible with the method that can be used to send e-mail via Drupal core.
I have committed a fix to dev that resets the mail handler system back to the DefaultMailSystem, when mails are sent by the print_mail module.
Please test it.
Comment #6
kd8fre commentedStill having the issue with the newest dev. I think it is related to something that's showing up at the end of the email.
The last part of the email looks like:
</p></div> %20%20%20%20%20%20</body> </html> %20%20%20%20%20%20Russ
Comment #7
jcnventuraWhat happens if you disable mimemail and mailsystem?
Comment #8
kd8fre commentedWith mimemail and mailsystem disabled it works as advertised. At this point in time, I don't have a need for those modules, so I will leave them disabled.
Comment #9
jcnventuraGood to know.
Comment #10
alex.castillo commentedI need to have Mimemail enabled. Any other workaround?
Comment #11
jcnventuraHave you tried it with the latest dev? Although, if you want you can wait a bit.. I'm creating the 7.x-1.0 release now.
Comment #13
smscotten commentedDid this fix not make it into the current 7.x-1.0? #11 says you were rolling it "now" and 7.x-1.0 is dated April 4th but I don't see it in the notes (though I do see it in the notes for the current 6.x release.)
I wouldn't be asking except that I've got this behavior with 7.x-1.0 (April 4 2012) and Mailsystem 7.x-2.34 and Mime Mail 7.x-1.0-alpha1.
If I disable Mime Mail (even if Mailsystem stays active) the issue goes away. But I do seem to need Mime Mail.
(I could do without Mime Mail if I could mail an arbitrary page (a view, not a node—and not the view that's currently displayed) using Rules. But that would be a separate support/feature request.)
Comment #14
jcnventuraIssue #1372180: Mail that is sent, is not shown correctly was fixed by adding a check to the status report to see if the mailsystem module is not configured in an incompatible way. Please get the latest dev (7.x-1.x) and see if you get the complain..
And yes, this made it to the 7.x-1.0, but the module only sets the correct setting when running the upgrading from a previous version, or when enabling print_mail when mailsystem is already installed.. If mailsystem is installed after print_mail, it willl result in an incompatible setting.