Postie doesn’t do any conversion, it just takes what is sent.
WordPress itself doesn’t allow iframes in the editor see https://en.support.wordpress.com/code/ so this might be related to what you are seeing.
Thanks for the quick response Wayne! Gotcha, I’ll look for an alternative, thanks!
There are several iframe shortcodes that would work.
As you can tell Wayne, I’m not that familiar with this topics. But I just ran a test adding the iFrame code that I get from Forms system I’m using (JotForm) and I was able to publish it and it works correctly:
http://pruebas.psicoevaluaciones.com/12345-2/
I just copied the code in the ‘Text’ editor of WordPress’ Post.
This is what I’m trying to achieve, but it doesn’t seem to work when I send it through Postie (exactly same code).
Make sure “Preferred Text Type” is set to “Plain” and “Text fallback” is set to “No” that will ensure that Postie ignores the html version of the email if your email client is sending one (or your mail server adds it)
Thanks for continuing helping me!
I just tried what you suggested, but now the page is blank. It seems that the code didn’t passed through (I tried it twice just to make sure the code was not faulty).
http://pruebas.psicoevaluaciones.com/4129477750512102400-2/
Sounds like your emails are not being sent as plain text.
Please install the Support AddOn and send the resulting file to [email protected] and I can take a look.
https://ww.wp.xz.cn/support/plugin/postie
So the issue was that the emails had encoded html rather than plain html due to the way JotForm sends emails.
The fix was to create a custom function to decode the html during the postie_post_before filter.