Hi friends,
I have created "Email Inbound Initiate" activity with these settings:
Preferred MIME Type: text/plain
Message mapping:

The problem is:
It is not mapping the attachment[0]. So it creates a pachage with an empty file.
See the bps log below:
2012-04-17 11:00:04,890 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - Transaction started
2012-04-17 11:00:04,890 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - Preparing to create a workflow
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - Function: Copy
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - From Rule:
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - /EMailMessage/Attachments/Attachment[0]/Name,
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - From Node Value : null
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - To Rule:
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - /Process Data/Packages/zip/object_name
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - Function: Copy
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - From Rule:
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - /EMailMessage/Attachments/Attachment[0]/Content-Type,
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - From Node Value : null
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - To Rule:
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - /Process Data/Packages/zip/content/content-type
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - Function: Copy
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - From Rule:
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - "zip",
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - From Node Value : zip
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - To Rule:
2012-04-17 11:00:06,171 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - /Process Data/Packages/zip/content/format
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - Function: Copy
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - From Rule:
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - /EMailMessage/Attachments/Attachment[0]/Data,
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - From Node Value : null
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - To Rule:
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - /Process Data/Packages/zip/content/data
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - Function: Copy
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - From Rule:
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - /EMailMessage/From,
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - From Node Value : dmadmin <dmadmin@brsplab200>
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - To Rule:
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.email.inbound.runtime.EmailTask] - /Process Data/Variables/sender
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.services.DfLoggerEventListener] - Input Message for process id - 4b0027118001b96d: activityId - 4c0027118001b979 workflowid - 4d0027118000255c: workitemid - 4d0027118000255c: message - <?xml version="1.0"?>
<EMailMessage>
<From>dmadmin <dmadmin@brsplab200></From>
<Reply-To>dmadmin <dmadmin@brsplab200></Reply-To>
<To>importacao@brsplab200</To>
<Message-ID><66892DB55D434632859DA0CDB58F68EF@server53></Message-ID>
<Subject>teste zip4</Subject>
<Return-Path><dmadmin@brsplab200></Return-Path>
<Delivered-To>importacao@brsplab200</Delivered-To>
<Received><![CDATA[from mi164724.petrobras.biz ([10.18.116.11])
by BRSPLAB200 (JAMES SMTP Server 2.3.1) with SMTP ID 23
for <importacao@brsplab200>;
Tue, 17 Apr 2012 10:59:21 -0300 (BRT)]]></Received>
<Date>Tue, 17 Apr 2012 10:59:19 -0300</Date>
<X-Priority>3</X-Priority>
<X-MSMail-Priority>Normal</X-MSMail-Priority>
<X-Mailer>Microsoft Outlook Express 6.00.3790.3959</X-Mailer>
<X-MimeOLE>Produced By Microsoft MimeOLE V6.00.3790.3959</X-MimeOLE>
<X-RFC2646>Format=Flowed; Original</X-RFC2646>
<Body>
<Content-Type>text/plain</Content-Type>
<Data>C:\Documents and Settings\dmadmin\message_files\a4f2546e-c4b2-44a9-844d-97ee6c1d40bb.dat</Data>
</Body>
<Attachments/>
<SERIALIZED_EMAIL_FILE_PATH>C:\Documents and Settings\dmadmin\message_files\c322f7db-f11d-4cbe-951b-5edb45578795.eml</SERIALIZED_EMAIL_FILE_PATH>
</EMailMessage>
2012-04-17 11:00:06,406 DEBUG [pool-4-thread-1] [com.documentum.bps.inbound.actionHandler.DocbaseInboundActionHandler] - Mapping rules executed for worklow: 4d0027118000255c
I am using mail client Outlook Express 6 and mail server James SMTP Server 2.3.1
Any help to solve this problem?
Thanks.