Hi There,

Just thought I'd document this for other developers who might run into this problem. Luckily, I installed this on a D7 last week, and knew what to look for. Then when it came to installing on the existing D6 site, things were missing and I was lost.

When you download the updated HTMLMail module to your existing Drupal6 site, you will have to (as the documentation states) first install Autoload etc. However, what happens when you've completed all the steps, and navigate to the MailSystem Settings page and find that the "HTMLMailSystem" Option is missing, and all you have are "default" and "test"?

Well, you have to disable, uninstall, and reinstall all your modules. Not to worry, its not as though there's that much configuration at the end of the day anyway. :)

Like so:

drush dis mimemail
drush pm-uninstall mimemail
drush dis htmlmail include autoload mailmime mailsystem
drush pm-uninstall htmlmail include autoload mailmime mailsystem
drush dl htmlmail include autoload mailmime mailsystem
drush en htmlmail include autoload mailmime mailsystem

I also downloaded the updated code, as I wanted to make sure I would be doing everything correctly and with stable releases.

Now it should all work and you can set up the modules correctly.
This unfortunately happens on sites that were already using HTMLMail in combination with MimeMail.

Oh, and you should remember to first disable, and uninstall MimeMail, and rather use MailMime instead.

Comments

pillarsdotnet’s picture

Status: Active » Postponed (maintainer needs more info)

I would certainly welcome any suggestions as to how my code could possibly diagnose and fix this and similar problems. I've tried submitting patches against Mime MAIL that would make it compatible with other mail modules, but the maintainer has been uncooperative.

arinba’s picture

Hi I'm not using drush however I have followed the istructions about uninstalling then installing and the problem remains - do not see HTMLmail class in the mail system configuration page.

I'm surely missing something

Please help

thanks

Gemma Morton’s picture

Hi arinba,

Then I figure your problem lies in the PEAR library. Have you installed the Include module? Has it downloaded the necessary files into files/include/[stuff]?

That's where I'd start. Unfortunately I can't help you any further. This is the only problem I've encountered, and thus its the only one I know how to solve. I had difficulties downloading the PEAR library to our Linux box, but thats because we had the 1.4 version running and had to upgrade to 1.6 - completely unrelated to HTML Mail I'm afraid.

kid_baco’s picture

Did you find a solution for this?
I'm running into the same problem. It looks like everything is installed, but in Mail System, I only have DefaultMailSystem and TestMailSystem as options.

Thanks

pillarsdotnet’s picture

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

I'll be rolling a new release shortly.

pillarsdotnet’s picture

Status: Needs work » Fixed

Released HTML Mail 6.x-2.45 and Mail System 6.x-2.12.

If upgrading to these versions does not solve your problem, please re-open this issue.

kid_baco’s picture

Thank you for responding with those so quick.

At first it still wasn't showing. I installed the upgrades, ran update.php, cleared the cache and still no HTMLMailSystem, so I deactivated html mail and tried reactivating it where I got...

Fatal error: Call to undefined function autoload_registry_update() in /path/to/drupal/sites/all/modules/htmlmail/htmlmail.install on line 112

So, looking at autoload, I saw that there was a newer release (not sure why this didn't show on my updates page), so I upgraded to 6.x-2.1. I then re-ran update.php, cleared the cache and de/reactivated html mail and this time there was no error. When I went to admin/settings/mailsystem I had HTMMailSystem as an option. Once I selected that and sent a test, it looked good.

Thanks again!

Status: Fixed » Closed (fixed)

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

fureigh’s picture

Thank you for posting that rundown, kid_baco!