> -----Original Message----- > From: Brian Goodrich [mailto:[EMAIL PROTECTED] > Sent: 19 July 2005 23:30 > To: [email protected] > Subject: mail.getName problems > > I'm using java 1.4.2 and building a custom james mailet. When I try > to compile with the Mail object function getName (I need the id > number for database storage), I get a compiler error about there > being no such function even though it is listed in the james api. > > Any thoughts?
I'm not near the code at the moment but I think only MailImpl has that method. If you are willing to take the risk then just cast the Mail object to a MailImpl as it generally isn't anything else but a MailImpl! > > Is there any other way to pull a UId from the Mail object? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
