can you email to list the service method code for your mailet?
Cj
Kraig Schario wrote:
I am having a problem with a mailet when copying the Mail mail object to a MimeMessage.
MimeMessage message = mail.getMessage();
It only occurs when the message contains large attachments. Usually larger than 2 MB. I receive the following error in the Mailet.log
java.lang.OutOfMemoryError
And the message is sent to the Error Processor.
Is there a way to test the size of the mail object before copying it to a MimeMessage to access the getSize() method?
I experience the problem in both James 2.1.3 and James 2.2.0a15. Runing on RedHat 9 or on Windows XP and 2000. The systems have 512 MB and 1.8GHz processors, so I don't think it is resource related. I am using Sun Java version j2re1.4.2_03
Thanks
Kraig Schario
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Corey A. Johnson Creative Network Innovations http://www.cniweb.net/ 1-800-CNi-5547 ** 1-321-259-1984
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
