• Hi dears,

    I am using postie for publishing from my mail box.

    When I send attachments more then one, just last attached file is linked to the post while others are not.

    How to resolve the issue?

    Regards
    Perochak

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter perochak

    (@perochak)

    Is there anyone to resolve the issue??

    j

    (@yjeanrenaud)

    I have the same issue. the other files get uploaded but not displayed

    Found a fix.

    goto: /postie/postie-functions.php

    Search for:

    case ‘image’:

    And inside that case statement there is a line:

    $attachments[“html”][$filename] = parseTemplate($file_id, $part->ctype_primary, $imagetemplate);

    Replace that line with

    $attachments[“html”][$filename] .= parseTemplate($file_id, $part->ctype_primary,
    $imagetemplate);

    That should fix it!

    I think there is similar bug with audio.. but not sure since i dont use that feature… if you are having the same problem, Just add in the period by the equals sign like i did for images

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Postie – Does not attach more then one file’ is closed to new replies.