Hi, You will find the JavaMail FAQ useful: http://java.sun.com/products/javamail/FAQ.html#sendmpa. Yes, you can use tomcat's mail sessions for this, as they are JavaMail sessions.
A module for receiving a message by mail? I don't know. I imagine that's not too hard to write, you read an XML string, parse it however you want (SAX, DOM, JDOM, Digester, and on and on and on goes the list), and store the right properties into a DB. As for a notification system: there are a ton out there, but you still may with to write your own if any appear too heavyweight/complex. A SourceForge search for "java notification" (check the "require all words" box) brings up several promising projects. IIRC, OSWorkflow (http://www.opensymphony.com/osworkflow/) has email notification, and that's a good product I've used in the past (the OpenSymphony folks are cool in general ;)) Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Jan Behrens [mailto:[EMAIL PROTECTED] >Sent: Monday, May 17, 2004 10:42 AM >To: 'Tomcat Users List' >Subject: mail server / relay > >hi list, > >i am going to implement a server-system that will be used to distribute xml >messages via mail (and perhaps ftp also). in short: the system receives an >xml document via mail, validates it, saves the data in a db and forwards a >different xml to various recipents. > >i wonder whether anyone knows of some modules / components that i could >use. >any suggestions on whether to use atachments or have the xml in the body >would also be very welcome. same applies to the tomcat mail sessions, can >they be used for something like this? > >thanks & sorry for any stupid question asked > >jan > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
