If you look at mimemail.inc:422, you'll see the path to the file can be uri or filepath. In my case (Using rules "Send html email" with mimemail) the attachment was using 'filepath'.

I've modified the patch from the previously committed issue that added mimemail support.

Comments

arosboro’s picture

Status: Needs work » Needs review
StatusFileSize
new817 bytes
parisek’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm that this patch is working.

Thanks arosboro, good work

gcb’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

If there's another issue, please link to it so we can track duplicates! We've rolled in a different patch that should resolve this issue, probably from the duplicate issue you noted.

maico de jong’s picture

Status: Closed (duplicate) » Needs review
StatusFileSize
new1013 bytes

Patch still needed when sending attachments using Rules + Mimemail. Mimemail sometimes uses 'filepath' instead of 'uri'. Attached patch works for me with latest dev

fortis’s picture

Status: Needs review » Reviewed & tested by the community

i'm getting filepath instead of uri too, I think it caused by file tokens in attachment section,
patch #4 works for me

jdidelet’s picture

Confirmed! #4 working for me as well.

levelos’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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