How do I capture/work on the mail coming in?  What am I doing wrong?  I am
trying to use HasMailAttribute

james-fetchmail.xml
    <fetchmail enabled="true">
        <fetch name="mailabsadelphianet">



>From config.xml

<mailet
  match="All"
  class="AddFooter">
  <text>Before has mail attribute.</text>
</mailet>

<mailet
  match="HasMailAttribute=org.apache.james.fetchmail.mailabsadelphianet"
  class="AddFooter">
  <text>From Adelphia.</text>
</mailet>

<mailet
  match="All"
  class="AddFooter">
  <text>After has mail attribute.</text>
</mailet>



Before has mail attribute.
After has mail attribute.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to