Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
jcnventura CreditAttribution: jcnventura commentedWhich modules do you have installed (specifically Mime or mail handling modules)?
Comment #2
kd8fre CreditAttribution: kd8fre commentedI have Mime Mail, Mime Mail Actions and Mail System installed for mail handling.
Comment #3
damatmadeforcom CreditAttribution: damatmadeforcom commentedSame problem.
Comment #4
alex.castillo CreditAttribution: alex.castillo commentedI'm having the same problem. Any ideas?
Comment #5
jcnventura CreditAttribution: jcnventura commentedApparently 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 CreditAttribution: 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%20
Russ
Comment #7
jcnventura CreditAttribution: jcnventura commentedWhat happens if you disable mimemail and mailsystem?
Comment #8
kd8fre CreditAttribution: 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
jcnventura CreditAttribution: jcnventura commentedGood to know.
Comment #10
alex.castillo CreditAttribution: alex.castillo commentedI need to have Mimemail enabled. Any other workaround?
Comment #11
jcnventura CreditAttribution: jcnventura commentedHave 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 CreditAttribution: 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
jcnventura CreditAttribution: jcnventura commentedIssue #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.