Hi Jon, Earlier this year I've put a mailet in JIRA (http://issues.apache.org/jira/browse/JAMES-235) that saves an attachment whose name matches a regular expression. You might take a look at it and build on it. The only thing that needs to be changed/added is how the content of the attachment is saved. In my case to a file, in your case in a database.
Hope this helps, Jeroen > -----Original Message----- > From: Jon Ceanfaglione [mailto:[EMAIL PROTECTED] > Sent: donderdag 9 september 2004 13:59 > To: 'James Developers List' > Subject: RE: Getting Started With Mailets > > > Thanks Michael, I will be happy to share any insight I might > gain over the > next several weeks. > > Regards, > > Jon Ceanfaglione > Director, Emerging Technology > CIS, Inc. > > > -----Original Message----- > From: Michael Motet [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 4:23 AM > To: James Developers List > Subject: Re: Getting Started With Mailets > > Hi Jon, > > I have a project starting next month, where we have to extract > attachments, and place them in a database. So far I have not > had time to > look into this issue, but will be glad to correspond on any ideas and > possible solutions. > > -Michael > > Jon Ceanfaglione wrote: > > > Hello, > > > > > > > > I am going to be working on a project to create mailets to be used > > with James. My first mailet will be to strip attachments > from emails > > with destination addresses that match certain criteria. - any > > suggestions on where to look for some good tutorials, > introduction, etc?? > > > > > > > > Thanks. > > > > > > > > Jon > > > > > > > > > > > > __________________________________________________ > > > > > > The information contained in this communication is intended > only for > > the use of the recipient named above, and may be legally > privileged, > > confidential and exempt from disclosure under applicable > law. If the > > reader of this communication is not the intended recipient, you are > > hereby notified that any dissemination, distribution, or copying of > > this communication, or any of its contents, is strictly > prohibited. If > > you have received this communication in error, please re-send this > > communication to the sender and delete the original > communication and > > any copy of it from your computer system. Thank you. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > __________________________________________________ > > The information contained in this communication is intended > only for the use > of the recipient named above, and may be legally privileged, > confidential > and exempt from disclosure under applicable law. If the reader of this > communication is not the intended recipient, you are hereby > notified that > any dissemination, distribution, or copying of this > communication, or any of > its contents, is strictly prohibited. If you have received this > communication in error, please re-send this communication to > the sender and > delete the original communication and any copy of it from > your computer > system. Thank you. > > --------------------------------------------------------------------- > 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]