I am trying to use Postie to build up some sort of photoblog: what I want to do is just send from my iPhone empty e-mails, just containing a subject and a single picture each, to an e-mail address, and get them published on my Website.
Everything seems to be working just fine, except for one issue: postie seems to forget to close a <div> it opens at the beginning of the text, so the footer of my post gets broken.
Just to clarify, here is how every post gets formatted (please, bear in mind that this comes from an empty e-mail, just containing the picture and a - filtered out by Postie configuration - standard "Send from my iPhone" signature):
(end of lines added by me)
<div> </div> <div> <div id="attachment_447" class="wp-caption alignleft" style="width: 300px;"> <a rel="attachment wp-att-447" href="http://www.iltrev.it/?attachment_id=447"><img class="size-medium wp-image-447" title="photo4" alt="" src="http://www.iltrev.it/wp-content/uploads/2012/12/photo4-300x300.jpg" /> </a> <p class="wp-caption-text"> </p> </div> <br />
...As you can see, there are 3 open <div> and just 2 closing </div>.
I don't know if this comes from the iPhone badly formatting the e-mail or Postie not interpreting it correctly, but anyway, is there anything I can do to correct this behaviour?
Thanks in advance,