RE: Getting Started With Mailets

2004-09-13 Thread j . m . vanbergen
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]



Re: Getting Started With Mailets

2004-09-13 Thread Vincenzo Gianferrari Pini
I had a look at it time ago, and have it in production since 20 days: 
everything is working fine for me!

Vincenzo
Has *anyone* besides me looked at the 2.2.1 RC?
	--- Noel
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Getting Started With Mailets

2004-09-09 Thread Intelekia








Hi,



Aside of the good documentation at James
homepage, theres a tutorial draft written by Stephan Weisner
(http://www.stephanwiesner.de/). It
is for an earlier James version (2.1.3) and the author doesnt seem to
maintain the tutorial any more, but for me it has proven to be very helpful on
learning about mailets and matchers, hope it is the
same for you.



I have posted it in the following address
in case you might find it interesting.



http://www.intelekia.com/misc/James.pdf



Best regards and good luck,



Isaac.













From: Jon
Ceanfaglione [mailto:[EMAIL PROTECTED] 
Sent: jueves, 09 de septiembre de
2004 0:07
To: '[EMAIL PROTECTED]'
Subject: Getting Started With
Mailets





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.

Re: Getting Started With Mailets

2004-09-09 Thread Danny Angus
Two things you need to suceed with mailets,
First is a sound knowedge of email.
Sounds daft but you will get on much better if you have a sound knowledge
of the construction of messages, what the headers are and what they mean,
when they are created during the life of a message, how content is
transmitted, what the restrictions are, how MIME messages are formatted and
what all the main MIME types are (or how to find the definitive list). You
also ought to understand the difference between the SMTP envelope
information used to route a message and the email headers, which are
(perversely) normally ignored for routing.

The second thing is how to write mailets.
This will be very much easier if you know enough about how mail works to
understand the code in james own mailets, and how james achieves standard
functionality.
Message changes (as opposed to routing/delivery) are done through the java
mail API which is way more complex and perverse than the Mailet API. So
take your understanding of MIME and learn how to use
javax.mail.internet.MimeMessage to create and alter messages.

You might also find Claude Duguay's article useful:
http://www-106.ibm.com/developerworks/java/library/j-james1.html

d.


 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??






***
The information in this e-mail is confidential and for use by the addressee(s) only. 
If you are not the intended recipient (or responsible for delivery of the message to 
the intended recipient) please notify us immediately on 0141 306 2050 and delete the 
message from your computer. You may not copy or forward it or use or disclose its 
contents to any other person. As Internet communications are capable of data 
corruption Student Loans Company Limited does not accept any  responsibility for 
changes made to this message after it was sent. For this reason it may be 
inappropriate to rely on advice or opinions contained in an e-mail without obtaining 
written confirmation of it. Neither Student Loans Company Limited or the sender 
accepts any liability or responsibility for viruses as it is your responsibility to 
scan attachments (if any). Opinions and views expressed in this e-mail are those of 
the sender and may not reflect the opinions and views of The Student Loans Company 
Limited.

This footnote also confirms that this email message has been swept for the presence of 
computer viruses.

**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Getting Started With Mailets

2004-09-09 Thread Michael Motet
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]


RE: Getting Started With Mailets

2004-09-09 Thread Jon Ceanfaglione
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]