Check out the JDBCAlias mailet that comes with James for an example of how to use it.
The dbcp database properties are configured in the config.xml file. -Al On Tue, 2 Nov 2004 20:02:11 +0000, Jason Clark <[EMAIL PROTECTED]> wrote: > Hello All, > > I'm trying to build a custom Mailet, and things are coming along > nicely. However, I want to use a database connection pool from within > my mailet. > > my problem is two fold. > > 1) where do I configure the dbcp > 2) how do I reference it from within my mailet > > I found a link offering some details on how to do this, but some of > the methods have been deprecated : > http://www.javaworld.com/javaworld/jw-10-2001/jw-1026-jamesmail-p3.html > > Any help on this would be greatly appreciated. > > Cheers, > Jason. > > --------------------------------------------------------------------- > 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]