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

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

Which modules do you have installed (specifically Mime or mail handling modules)?

kd8fre’s picture

Status: Postponed (maintainer needs more info) » Active

I have Mime Mail, Mime Mail Actions and Mail System installed for mail handling.

damatmadeforcom’s picture

Same problem.

alex.castillo’s picture

I'm having the same problem. Any ideas?

jcnventura’s picture

Status: Active » Fixed

Apparently 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.

kd8fre’s picture

Status: Fixed » Needs work

Still 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

jcnventura’s picture

Status: Needs work » Postponed (maintainer needs more info)

What happens if you disable mimemail and mailsystem?

kd8fre’s picture

Status: Postponed (maintainer needs more info) » Active

With 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.

jcnventura’s picture

Status: Active » Fixed

Good to know.

alex.castillo’s picture

I need to have Mimemail enabled. Any other workaround?

jcnventura’s picture

Have 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

smscotten’s picture

Version: 7.x-1.0-beta2 » 7.x-1.0
Status: Closed (fixed) » Active

Did 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.)

jcnventura’s picture

Status: Active » Closed (fixed)

Issue #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.