While trying to workout these questions regarding sending attachments with MimeMail (#1 and #2), I found a little bug in the
mimemail_html_body function. It fails to retrieve the URI for a file when passing a file object. I think the cause is the double "?" sign without parenthesis.
This patch correct this behaviour.