Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 71141 invoked by uid 500); 20 Nov 2001 14:53:23 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 71122 invoked from network); 20 Nov 2001 14:53:22 -0000 From: "Mirco Bharpalania" To: Subject: problems with a logicsheet Date: Tue, 20 Nov 2001 15:54:05 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi! I am new to cocoon and xsp and logicsheets. I want to use a mail logicsheet in order to display mails on a browser. I don't know exactly how to use this logicsheet and how to handle the parameters. I will attach the logicsheet and my xsp-file to show what I mean exactly.Maybe I my xsp-file is completely wrong ?! I would be very happy for an answer to my question!!! mail logicsheet: { Properties _mail_properties = new Properties(); Session _mail_session = Session.getDefaultInstance(_mail_properties,null); Store _mail_store = _mail_session.getStore(String.valueOf()); Store _mail_store = _mail_session.getStore(); Integer _mail_port = null; try { _mail_port = new Integer(String.valueOf()); } catch (Exception e) {} _mail_store.connect( String.valueOf(), _mail_port == null ? -1 : _mail_port.intValue(), String.valueOf(), String.valueOf()); Folder _mail_folder = _mail_store.getDefaultFolder(); _mail_folder = _mail_folder.getFolder(String.valueOf()); _mail_folder.open(Folder.READ_WRITE); _mail_folder.close(false); _mail_store.close(); } and this is my xsp-file: String POP3="POP3"; String localhost="localhost"; String portm="110"; String test="test"; String inbox="inbox"; POP3 localhost portm test test inbox --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: