• Resolved WideM

    (@widem)


    Hi Guys,

    First of all Thanks to Wayne for an amazing nice plugin… It’s great!!!

    Though… after playing around with Postie about 3 days i can’t seem to get the magic happen as it is suposed to be.

    I’ve installed a clean WordPress 4.2.2 and Postie 1.6.19 (no updates have been done). When everything is configured properly (played around with that a couple of hours…). The following problems intent to stay and i can’t figure out where the problem is.

    1. When Postie is set to automaticly post messages… it reads reads and deletes the email, it also puts the attachements in the library, but the message itself is lost… though when looking in WP at messages i see the counter going up (but nowhere to find the message). I have the feeling something goes wrong in the posting part (rights?). When i run the ?postie=get-mail command it works…

    2. When Postie is running in my case only manually (or manual cron). The post is given correct title and message appearance… though the permalink will be tmptitle. If there are more messages posted at once it makes them tmptitle2, tmptitle3. I am running Postie to publish instead of draft because i am working with registered users. I’ve been changing settings like HTML or Plain, but in my logic if it reads the subject correctly by putting it as message title but not the permalink there is something else wrong right…? So what i did now to prevent this problem is set the messages to draft and not to publish, then when manually publishing it works (the permalink is then generated).

    3. If an mail is sent when the a single image file is larger than 8MB Postie just dosn’t process any message anymore. It starts, and just ends when it reads something from the mail. Also when debugging it shows only 5 or 6 lines… i think Postie doesn’t like big attachements. Anything known there…?

    Then my last thing… more a request if possible… if images that are sent for example are bigger than 2MB or say a certain resolution… would it be an idea to autoresize those images to something smaller…?

    Thanks in advance,
    Michiel

    https://www.ads-software.com/plugins/postie/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter WideM

    (@widem)

    I’ve added in the PHP config for this certain site : memory_limit = 512M and now bigger images are working…

    Though not sure if this is the best construction… Would be nice to get some feedback… ??

    Plugin Author Wayne Allen

    (@wayneallen-1)

    >1. When Postie is set to automaticly post messages

    Not sure what is happening. Both automatic and ?postie=get-mail are exactly the same except that you are likely logged in when using ?postie=get-mail. You might log out and try ?postie=get-mail again to see if it is at least consistent.

    >2. When Postie is running in my case only manually (or manual cron). The post is given correct title and message appearance… though the permalink will be tmptitle.

    Also very strange. You might want to disable all other plugins and switch to twentyfifteen theme then test again to ensure something else isn’t conflicting.

    >3. If an mail is sent when the a single image file is larger than 8MB Postie just dosn’t process any message anymore. It starts, and just ends when it reads something from the mail

    As you discovered this is memory related. PHP will kill Postie if the email attachments are larger then the allowed memory.

    >if images that are sent for example are bigger than 2MB or say a certain resolution… would it be an idea to autoresize those images to something smaller…?

    Postie has to deal with the attachments as they come in through the email, so it needs to read the entire image in the email encoded format then decode it before it can attach it to the post. That means for a 2Gb image Postie will need ~6Gb of memory just to get to the original image.

    There are already plugins that can resize your images. Postie doesn’t do anything unusual so most plugins work fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Postie issues… tmptitle, automatic e.g.’ is closed to new replies.