AnsweredAssumed Answered

Email Metadata Extraction Problem

Question asked by feroz on Nov 6, 2009
Hi all,
I am using Alfresco Community 3.2r for my POC(Proof of concept). Release note said that it has Email extraction and so on. In Alfresco explorer email document's node browser view shows that its properties like  messageFrom, messageTo, dateReceived etc. But when i iterate email documents in template for dashlet, i can not use these properties like ${email.properties.messageFrom}. It gives exception as undefined thing.
Here i attached my dashlet tempate file ,

<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 want to use ${email.properties.messageFrom} instead of ${email.content} for message sender.
Thank in advance,

Outcomes