Process Documents from Mail Store attachements
Hello.
I need to read email and download xml attachements to directory.
With "Process Documents from Mail Store" operator I connected successfully to gmail (pop3).
In operator parameters I select download attachements.
1. What I need choose in attachement MIME-type?:
2. How I can save attachements to directory? What operators I need to use? Maybe "Loop Collection". What else?
3. I need to reed mail not from INBOX folder. Bun when I change folder to
I see error message. Can I fix it?
Answers
-
Connecting to GMAIL is difficult, do a search in the community or knowledge base, I believe it was solved.
i usually skip the Connect to Mail Store operator and do something like the attached process.
Just enter your email address in User and your password in password
<?xml version="1.0" encoding="UTF-8"?><process version="7.3.000">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="7.3.000" expanded="true" name="Process">
<process expanded="true">
<operator activated="true" class="text:read_documents_mail" compatibility="7.2.001" expanded="true" height="68" name="Read Documents (Mail)" width="90" x="45" y="34">
<parameter key="host" value="imap.gmail.com"/>
<list key="connection_properties">
<parameter key="mail.imap.ssl.enable" value="true"/>
</list>
<parameter key="protocol" value="imap"/>
<parameter key="only_unseen" value="false"/>
<parameter key="mark_seen" value="false"/>
</operator>
<operator activated="true" class="text:documents_to_data" compatibility="7.2.001" expanded="true" height="82" name="Documents to Data" width="90" x="179" y="34">
<parameter key="text_attribute" value="text"/>
</operator>
<connect from_op="Read Documents (Mail)" from_port="output" to_op="Documents to Data" to_port="documents 1"/>
<connect from_op="Documents to Data" from_port="example set" to_port="result 1"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
<portSpacing port="sink_result 2" spacing="0"/>
</process>
</operator>
</process>0