• Resolved kencooperjr

    (@kencooperjr)


    Just started using Postie and having issues.

    https://postieplugin.com/usage/ –> Specifying the Post Date
    In the sentence “You can provide an exact date with optional time or a relative date.“. Clicking the date link (https://php.net/manual/en/datetime.formats.date.php) takes me to a php Date Formats page. Am attempting to enter a date format and obviously don’t know how these notations work?

    Created the following email sent to Postie on wordpess site:

    sUBJECT: t21
    this is pre start info
    :start
    date: dd
    :status draft
    The start
    #img2#
    #img1 caption=’test image1 #
    #img3 caption=’test image3 #
    #img5 caption=’test image5′ #
    the end
    :end

    5 images were attached

    RESULTS – IMAGES NOT SHOWN JUST A PLACE HOLDERS

    t21
    date: *dd*
    :status draft
    The start
    <IMAGE 2 PROPERLY DISPLAYED HERE> as header

    <IMAGE 1 PROPERLY DISPLAYED HERE> – no caption

    <IMAGE 3 PROPERLY DISPLAYED HERE> – no caption

    <IMAGE 5 PROPERLY DISPLAYED HERE> – no caption

    the end
    <IMAGE 1 PROPERLY DISPLAYED HERE>
    test image1

    <IMAGE 2 PROPERLY DISPLAYED HERE>

    <IMAGE 3 PROPERLY DISPLAYED HERE>
    test image3

    <IMAGE 4 PROPERLY DISPLAYED HERE>

    <IMAGE 5 PROPERLY DISPLAYED HERE>
    test image5′
    Filed Under: Uncategorized

    QUESTIONS
    1. How do I get the date to work and display the day, or any other date notation for that matter.
    2. Why does “:status draft” show up.
    3. In the email, I added a caption to three of the attached images. No image in the body of the post shows a caption?
    4. In the gallery, images 1, 3, 5 display the caption – EXCEPT that in caption 5 the last enclosing quote shows up. I left the last quote off for image 1, 3 – and it did not show. Your doc shows the entire text for the caption is to be enclosed in quotes?

    Thanks for any help on this long help request – Ken

Viewing 1 replies (of 1 total)
  • Plugin Author Wayne Allen

    (@wayneallen-1)

    Thanks for the questions.

    >How do I get the date to work

    By default Postie will use the date from the email, you don’t have to do anything. Optionally you can have Postie use the date the email was processed. See the “Ignore Email Date” setting.
    The final option is to specify a date in the email as described here: https://postieplugin.com/faq/specifying-post-date/

    >Why does “:status draft” show up.

    A: because that is what you typed in the email ?? I suspect you really intended to type “status: draft” as described here: https://postieplugin.com/faq/override-post-status/

    >In the email, I added a caption to three of the attached images. No image in the body of the post shows a caption?

    Sounds like you may have “Preferred Text Type” set to “html” If that is true and you use the #img# syntax you’re going to get strange results as that syntax is for people who can only send plain text messages.

    Yes the captions should be surrounded by quotes. Not sure about the final quote on caption 5. I don’t see this issue on my test system.

Viewing 1 replies (of 1 total)
  • The topic ‘Specifying the Post Date’ is closed to new replies.