The message_name is written according to the current system time during the time the mail is stored. Since there is no accurate way of predicting what that message_name will be before hand, we cannot get the message_name or so I think. But once the mail is written to the inbox a query can be written to get the message_name. Do you think assuming that the last mail written to the table is the one being processed by myMailet if myMailet is called immediately after the LocalDelivery Mailet. I dont let the mail status to be set to ghost in localDelivery.
Your help will be greatly appreciated, Thanks, Disha On Fri, 2003-03-07 at 11:09, Disha wrote: > I am using database repository for storing mails. Every incoming mail > goes thru 2 mailets; one the LocalDelivery and another similar to it > that writes the mail to myinbox. I want to store the reference to this > mail from James inbox in myinbox. Is there a way we can get the > message_name of this mail that would be written to the inbox in the > transport processor? > mail.getName() does not turn out to be the same when this mail passes > thru myMailet from what gets written in the inbox. They differ by the > last 4 digits. I want to be able to somehow get the message_name that > would be written in the inbox table in myMailet so I can have a > reference to the mail in both the tables. > Any suggestions? > > Thanks, > Disha -- Disha <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
