Hi,

As a follow up to my initial question, I've had a look at the source code
and determined I can obtain message_name using the following piece of code:

public void service(Mail mail)
{
   if(mail instanceof MailImpl)
   {
      MailImpl mailImpl = (MailImpl)mail;
      String name = mailImpl.getName();
   }
}

However, the repository name appears to be parsed from
org.apache.avalon.framework.Configuration.getAttribute("destinationURL") in
the JDBCMailRepository class' configure method. How can I access this
information from inside my Mailet? Do I need to? What is the nature of the
message_name field in the inbox table? Will it always be unique?

Jonathan

CTL, Auckland.


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

Reply via email to