cancel
Showing results for 
Search instead for 
Did you mean: 

IMAP meta data extraction in 3.2R

andreas_wilmsme
Champ in-the-making
Champ in-the-making
Hi everyone,
In the "What's New" section on Community 3.2R it says:
    "IMAP email extraction enhancement to configure which properties are extracted from the email message"
Does anyone know where and how to configure this?
Thanks in advance!
Andreas
7 REPLIES 7

mrogers
Star Contributor
Star Contributor
There's two ways to configure it:

You can configure it via the RM Admin Console or you can
over-ride the RFC822MetadataExtractor.properties .

andreas_wilmsme
Champ in-the-making
Champ in-the-making
Thanks,
I'll give it a try.
Andreas

feroz
Champ in-the-making
Champ in-the-making
Hi mrogers,
Recently i installed Alfresco Community Version 3.2r for proof of concept on Alfresco projects. I have create a dashlet for email. All are fine, email dragged and dropped from client(Outlook/ Thunderbird) through IMAP are in eml extension but i can not use email properties like from, to .
My Dashlet template file is ,
<#——————————————————————>
<#– Name: email_dashlet.ftl –>
<#–Displays a table of all the email from a user imap space/–>
<#– folder under Company Home/Data Dictionary/Imap Home/<currentLoginUser>/INBOX space –>
<#– NOTE: This folder need not exist and –>
<#– the email in it should have the subject and date(which is dropped onto the Repository) –>
<#——————————————————————>
<div style="overflow:auto; height:300px; width:100%;">
<table>
   <#assign iter = 0>
   <#list (companyhome.childByNamePath["Imap Home"]).children as space>
   <#if space.properties.name == "${person.properties.userName}">
   <#assign l_space = companyhome.childByNamePath["Imap Home/${person.properties.userName}/INBOX"]>
      <#list l_space.children as email>
         <#if email.isDocument>
              <#if dateCompare(email.properties["cm:created"], date) == 0>
               <tr>
                  <td>
                     <#assign iter = iter+1>
                     ${iter}.   Sub: <a class="title"href="/alfresco/${email.url}">${email.properties.description}</a> by ${email.content}
                     
                  </td>
               </tr>
               <tr>
                  <td>
                      
                  </td>
               </tr>   
            </#if>   
         </#if>
      </#list>
      <#break>
   </#if>
   </#list>
   <#if iter == 0>
      <tr>
         <td>   
            There is no emails today.
         </td>
      </tr>   
   </#if>   
      
</table>
</div>

Here i put email.properties.description instead email.subject and email.content instead email.bodytext.
When i put email.subject and email.bodytext, it'l give the exception on the explorer.
Thank in advance,
with regards,
  Feroz.

mrogers
Star Contributor
Star Contributor
Can you use the node browser (in explorer) to see what, if any, properties your email document has.

feroz
Champ in-the-making
Champ in-the-making
Hi mrogers,
In the node browser, all properties are fine, but i dont know how to access in my dashlet file.
Thank in advance,

feroz
Champ in-the-making
Champ in-the-making
Hi,
Can i access like this ${email.properties.messageFrom}?
Thnx in advance,

feroz
Champ in-the-making
Champ in-the-making
Hi mrogers,
In the Node browser, mail document has properties like messageFrom, to, dateReceived. But i don't know how to access these properties in email dashlet file.
Thank in advance once again,