I have managed to get the email portlet to connect, read and send email. The
problem occurs when trying to read an attachment.

The porcess goes into the EmailPortlet.doDownload method, when processing
the line :-

m_response.getOutputStream().write(b, 0, b.length);

The following error is thrown :-

java.lang.IllegalStateException: getWriter() has already been called for
this response

Any assistance would be greatly appreciated, has anyone ever had the email
portlet working with attachments ?

Setup is as follows :-

Windows 2000 Proffessional
Jetspeed 1.5
Tomcat 5.0.19
Java 1.4.2_04
Mercury Mail Server 4.01a

Many thanks

Jon Hawkins


This email and any files transmitted with it are confidential 
and intended solely for the use of the individual or entity to 
whom they are addressed. Any unauthorised distribution or 
copying is strictly prohibited. Whilst Cedar Software Ltd 
takes steps to prevent the transmission of viruses via e-mail, 
we cannot guarantee that any email or attachment is free from 
computer viruses and you are strongly advised to undertake your 
own anti-virus precautions. Cedar Software Ltd grants no 
warranties regarding performance, use or quality of any e-mail 
or attachment and undertakes no liability for loss or damage, 
howsoever caused.  


For more information on Cedar Software and our products, 
please visit our web site at http://www.cedar.com/Home.asp


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

Reply via email to