Million thanks to everyone's help, I have successfully got the mailet to do what I need it to do!
In addition, I have also found a useful link at the sun's web site regarding on attachment processing with JavaMail at: http://developer.java.sun.com/developer/onlineTraining/JavaMail/contents.html#GettingAttachments Please pardon my ignorance for not discovering this link earlier. Pat > -----Original Message----- > From: Patrick Han [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 9:28 AM > To: [EMAIL PROTECTED] > Subject: How to Extract Attachment from an Incoming Mail > > > Dear all, > > I am new to JAMES and this mailing list. Please excuse me if > I ask silly questions. :) > > I am currently developing a mailet that should intercept with > an incoming mail and save the attachment (This will always be > an image, mostly in .jpg) to a local directory residing on > the mail server. However, I have gone through the JAMES and > Mailet API and found various methods to extract almost all > parameters of a mail but the actual email attachment! > > I have also searched all over the Web to look for related > topic but most of the searching result I got is related to > how to send attachment via email, not to extract attachment > from an email. > > Does anyone has any clue on how I can proceed with this task? > Thanks in advance! > > Pat > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
