hi all...
 
i've some problems here n any help are greatly appreciated...
i want to try directing all emails to be handled by my custom class instead of the default ToProcessor...
 
here's a part of my config.xml file for my james. What it does here basically is any e-mails to [EMAIL PROTECTED]  will be handled by MatchSingleRecipient and UnavailableMessageSave, right?
 
 
 <mailet match="[EMAIL PROTECTED] " 
class="UnavailableMessageSave">
<folder>C:/james-2.1.3/unavailable</folder>
<subject>You have been marked as UNAVAILABLE</subject>
<content>Send a message to [EMAIL PROTECTED] to reset.</content></mailet>
 
And here's another part of the config.xml:
 
 <mailet match="All" class="ToProcessor">
            <processor> transport </processor>
         </mailet>
      </processor>
 
And basically what it does is here is it will handle all emails other than to [EMAIL PROTECTED] to be handled by ToProcessor, right?
But what I need to do here is to direct all  e-mails to my custom class UnavailableMessageSave.. so I did this...
 
 <mailet match="All " 
class="UnavailableMessageSave">
<folder>C:/james-2.1.3/unavailable</folder>
<subject>You have been marked as UNAVAILABLE</subject>
<content>Send a message to [EMAIL PROTECTED] to reset.</content></mailet> and I deleted the
 
 <mailet match="All" class="ToProcessor">
            <processor> transport </processor>
         </mailet>
      </processor>
 
tag...but it seems there's still a problem..cause when I checked my inbox there should be the message "You have been marked as UNAVAILABLE", right? But all my inbox are empty... so what really should I do?
 
really need some help here.. i'm still a student and so much more to learn...
 
thanx


Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger

Reply via email to