<?xml version="1.0" encoding="windows-1252"?>
<node id="845528" title="Re: Reading POP email that may be plain text, HTML, or both" created="2010-06-19 07:45:16" updated="2010-06-19 07:45:16">
<type id="11">
note</type>
<author id="600591">
Krambambuli</author>
<data>
<field name="doctext">
Have a look on [mod://MIME::Tools] and [mod://MIME::Entity]. Parse the message, then check the parts to see if they are text/plain, pick up the parts you need. For HTML-only messages you'll probably have to decide if you want to ignore them or transform HTML to text.   </field>
<field name="root_node">
845510</field>
<field name="parent_node">
845510</field>
</data>
</node>
