• Resolved pheadirean

    (@pheadirean)


    If I send an email from IOS, as html, with body as per below, with Postie set to receive html, can you suggest why my placeholders do not get translated to their underlying values via ReplaceImagePlaceHolders?

    Postie settings
    Preferred text type: html

    Software versions
    Postie v1.8.34
    IOS 10.2.1
    WordPress 4.7.3

    Email body
    …Image goes here…
    :start
    {CAPTION}Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
    :end
    Signature to force html

    Results
    http://www.chapt3r1.com/postie-html-not-resolving/

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

    (@wayneallen-1)

    You need to put all content (including image placeholders) inside the :start/:end

    I don’t really recommend using :start/:end, they are really for special cases where you can’t remove a header/footer because they come from a third party.

    Thread Starter pheadirean

    (@pheadirean)

    I see my original post had html translated, so, It should have read…

    My email body is

    {CAPTION}Lorem ipsum…

    When I run with DEBUG, I see this line
    post body ReplaceImagePlaceHolders: <div><div><div>image1.JPG<span style=”background-color: rgba(255, 255, 255, 0);”>{CAPTION}Lorem ipsum…</span></div><div id=”AppleMailSignature”><span style=”background-color: rgba(255, 255, 255, 0);”><br></span></div><div id=”AppleMailSignature”><span style=”background-color: rgba(255, 255, 255, 0);”>Signature to force <b><u>html</u></b></span></div></div></div>

    The placeholders are not translated.

    Do placeholders get translated when mail is html?

    Plugin Author Wayne Allen

    (@wayneallen-1)

    Placeholders are only for plain text emails.

    If you’re using html just put the images inline.

    Thread Starter pheadirean

    (@pheadirean)

    Ok. Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Postie not resolving placeholders’ is closed to new replies.