Problem z embeded obrazkami w newsletterze ?

Problemem jest mimemail

Problem: If the mimemail function is called, certain files are embedded and their cid’s are stored in the filenames array (to prevent duplicates). Subsequent calls of the mimemail function will not embed files that have been embedded in previous mails.

Cause: The static filenames array isn’t emptied at the end of the _mimemail_file function like the static files array.

Adding the single line in the attached patch file has fixed the problem for me.

http://drupal.org/node/358439#comment-1426276

 --- mimemail.inc   2009-04-01 18:09:50.000000000 +0200
 +++ mimemail.inc   2009-04-01 18:10:06.000000000 +0200
 @@ -148,6 +148,7 @@ function _mimemail_file($url = NULL, $na

    $ret = $files;
    $files = array();
 +  $filenames = array();
    return $ret;
  }