just downloaded your module
after enabling it i got the error

Parse error: syntax error, unexpected ';' in ***\sites\all\modules\htmlmail\htmlmail.mail.inc on line 33

i cannot access anything else now please review it ASAP!

Comments

miaoulafrite’s picture

you miss a lot of parenthesis!
herebelow i guessed what could be a solution, please review it and commit a new revision

(file htmlmail.mail.inc)

<?php
$eol = variable_get('mail_line_endings', MAIL_LINE_ENDINGS);
    // @todo Remove this when issue #209672 gets resolved.
    $default_from = variable_get('site_mail', ini_get('sendmail_from'));
    if ( !empty($message['headers']['From'])
      && ($message['headers']['From'] == $default_from)
      && valid_email_address($default_from)
    ) {
      $message['headers']['From'] = '"'
      . str_replace('"', '', variable_get('site_name', 'Drupal'))
        . '" <' . $default_from . '>';
    }
?>
pillarsdotnet’s picture

Version: 6.x-2.51 » 6.x-2.52
Assigned: Unassigned » pillarsdotnet
Status: Active » Fixed
pillarsdotnet’s picture

Version: 6.x-2.52 » 6.x-2.53
RockSoup’s picture

This issue also exists in the htmlmail-7.x-2.51.tar.gz version.

pillarsdotnet’s picture

Also fixed in 7.x-2.53 and 8.x-2.53 releases.

Status: Fixed » Closed (fixed)

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