There isn't a great facility right now. I've been considering adding generic attribute support so you could get/set/remove attributes on the Mail object (of which the error message would be one such), but we haven't done that yet.
Can you provide some sample code to show that setErrorMessage is not working? That should be getting stored. -- Serge Knystautas Loki Technologies - Unstoppable Websites http://www.lokitech.com/ Hemendra Rana wrote: > Hi, > > I am writing a matcher/mailet pair using James 1.2. My matcher checks > for a specific conditions and need to communicate the result to the > mailet that then uses the result to take appropriate action. > > I tried using Mail.setErrorMessage() method in the matcher, but > Mail.getErrorMessage() always returns me null in the mailet. > > Any help in this regard will be highly appreciated. > > Hemendra -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
