simplenews and mimemail combination, pictures only got send to first registered email adres
Tmanagement - May 4, 2009 - 17:08
| Project: | Simplenews |
| Version: | 6.x-1.0-rc6 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I have installed the simplenews module 6.x-1.0-rc6 in combination with drupal 6.11 and the mimemail module 6.x-1.x-dev. By sending all kind of test newsletters in HTML format with pictures included I found out that the included picture is only being send to the first given test email address or the first email address that is registered for the newsletter.
The images are also not attached to the emails. So only the first email wil contain the images in the newsletter and the rest of the emailaddresses are not receiving any of them.
Could also be an mimemail issue, not sure.

#1
Somebody?
#2
To find out whether this is a simplenews or mime mail issue, you must debug the data which simplenews sends to mime mail. simplenews.module calls mimemail() function.
#3
DOUBLE POST... sorry
#4
This happens to me to, I avoid the problem by supplying full path for all images, but this is obvious not a good solution...
#5
The test e-mail seems to work fine, it's just that the e-mails send by the cron lags the embedded images.
Maybe because the emails become big due to the embedded images, bulk e-mail will demand lots of mailserver power.
#6
its due to a mimemail-issue, see folkertdv's comment http://drupal.org/node/358439#comment-1426276
patching mimemail.inc: _mimemail_file() resolves this issue!
$ret = $files;$files = array();
$filenames = array(); //<--added, resets static filenames array
return $ret;
}
#7
patch in #6 works for me to resolve this issue