Closed (won't fix)
Project:
Mime Mail
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2006 at 14:06 UTC
Updated:
5 Aug 2008 at 18:09 UTC
When file access mode in Drupal settings is set to 'private' and image src is 'system/files?file=image.jpg', it's not included in the mail (no section in the multipart).
Comments
Comment #1
miopa commentedThis works for me, should be Ok
In mimemail.inc function _mimemail_file should look like this:
Comment #2
miopa commentedComment #3
allie mickaPlease submit a patch so we can clearly see your changes and effect them without mucking things up.
We can't use a hard-coded value for 'system/files?file=' . I believe that the files directory is parameterized, so that parameter must be used.
Also, I would prefer to respect the setting for private files instead of trying to derive the setting by groking the url.
If you can submit a working patch that respects these two variables, I will apply it. Otherwise, I will get to this when I can.
Thanks!
Comment #4
jerdavisSetting this one to minor - if you can provide a patch cleaned up as requested above we can get this in a lot faster!
Comment #5
allie mickaI'm marking this as won't fix, as it's gone for over 2 1/2 years without any feedback or followup.