I only listed this as a support request because it may just be that I haven't found out why the Print module wasn't working with Mail System properly, although it could indeed be a bug.

I was in the middle of getting HTML Mail set up, when I realized our Send-by-email function of the Print module (Print_Mail function) wasn't sending emails properly, i.e. to be precise, no links were being sent out to the node people would send to their friends!!

I back-tracked and found the Print "Send-by-Email" function to work again upon disabling the Mail System module.

Now, I went for the drastic option of disabling Mail System simply because it was the fastest way to get the Send-by-Email function to work again. But I had tried to define a key and class for the Print module in Mail System config. This produced no change.

Am I missing something here? Shouldn't the DefaultMailSystem, once specified for the module key in config, allow the Print module to send out it's e-mails in the fashion it did before Mail System was installed?

I shall be much indebted to any support I can get on this, as Mail System is a requirement of HTML Mail, a key link in the chain to sending out themed HTML newsletters in Drupal!!

Comments

danielgt84’s picture

Category: support » bug

My friend took a look at messages sent by Print, when Mail System is enabled, and disabled:

The print version is definitely doing it what it's saying it does, and it really looks like it's getting passed to the mail system fine. But then it looks like somehow in the mail system, it's dying a painful death.
The fact that the default mail handler isn't even kicking in says something though.

Therefore I'm reposting this issue as a major bug report, as Print is a widely used module. Unfortunately I can't personally hack this module; I hope someone knows how to make a patch for this!!

danielgt84’s picture

Issue tags: +print, +print_mail
pillarsdotnet’s picture

Assigned: Unassigned » pillarsdotnet
Issue tags: -print, -print_mail

Cleaning up tags.

See Adding tags to issues for tags usage.

See its subpages for lists of tags used within specific queues.

Cross-post to print-mail queue if you find it necessary.

danielgt84’s picture

I will do that, in case it's maintainers get a chance to take a look at it. But I don't see why they should, as it certainly looks like MailSystem (the hard dependency for HTML, Mail MIME, etc.) is not letting Print use the DefaultMailSystem as it should. Any ideas on this?

I have also tried assigning DefaultMailSystem to keys for the different parts of the Print module, but to no avail. Am I wrong in thinking that your module should actually not be causing the interference with Print, that it does? Has anyone else tested MailSystem on Drupal 6 with any other Send-to-Friend function installed?

jcnventura’s picture

Version: 6.x-2.30 » 6.x-2.33
Status: Active » Fixed

Hi, this is the print module maintainer here.

I've just fixed this on the print side.. Weirdly, I need to pass it to check_plain() before passing it to mailsystem, whereas Drupal prefers that I don't..

Status: Fixed » Closed (fixed)

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