I recently updated from 2.49 to 2.53 and also the Mail System module. The update.php said:

Error
Mail System module	7.x-1.x
&htmlmail new requires Mail System 7.x-2.6 or later. Please download and install a recent version of Mail System, then re-enable the HTML Mail module.

I looked up the code and realized, that line is not works ok:

htmlmail.install (line #19)
if (function_exists('mailsystem_html_to_text')) {

This is one 'bug', and the another is at #36, in the error message the &htmlmail variable used, but in the args it is !htmlmail.

Comments

pillarsdotnet’s picture

Title: Update to 2.53 » Better check for Mail System version
Version: 7.x-2.53 » 7.x-2.x-dev
Assigned: Unassigned » pillarsdotnet
Status: Active » Needs work

Fixing now...

pillarsdotnet’s picture

Status: Needs work » Fixed
pillarsdotnet’s picture

at #36, in the error message the &htmlmail variable used,

Fixed in 7.x-2.55 release.

tebb’s picture

Hi. I have this error and as a result cannot manually check for updates of modules.

Can I just untar the HTML Mail 2.55 release into the module directory and then run update?

Or would you suggest I disable the module in the database, then run check for updates to download it automatically etc?

I'm not sure what state the update is in or what changes it makes.

Thanks for any assistance.

pillarsdotnet’s picture

@#4 -- I don't know anything about any automatic download system. The normal procedure is to untar the release into your sites/all/modules directory and then visit update.php.

tebb’s picture

Yes, I put that badly. I meant the check for updates carried out when cron runs or requested manually via: admin/modules/update or admin/reports/updates/check?destination=admin/modules/update

I took the upload and untar option and all seems well now.

Thank you.

Status: Fixed » Closed (fixed)

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