Return-Path: Delivered-To: apmail-xml-cocoon-docs-archive@xml.apache.org Received: (qmail 23030 invoked by uid 500); 6 Jun 2003 15:00:07 -0000 Mailing-List: contact cocoon-docs-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-docs@xml.apache.org Delivered-To: mailing list cocoon-docs@xml.apache.org Received: (qmail 22851 invoked from network); 6 Jun 2003 15:00:04 -0000 Received: from dobit2.ugent.be (HELO dobit2.rug.ac.be) (157.193.42.8) by daedalus.apache.org with SMTP; 6 Jun 2003 15:00:04 -0000 Received: from allserv.UGent.be (allserv.ugent.be [157.193.40.42]) by dobit2.rug.ac.be (8.12.8/8.12.8) with ESMTP id h56F03lN010130 for ; Fri, 6 Jun 2003 17:00:03 +0200 (MEST) Received: from otsrv1.iic.rug.ac.be (otsrv1.iic.ugent.be [157.193.121.51]) by allserv.UGent.be (8.12.8/8.12.8) with ESMTP id h56F03tp017616 for ; Fri, 6 Jun 2003 17:00:03 +0200 (MEST) Received: from otsrv1.iic.rug.ac.be (localhost [127.0.0.1]) by otsrv1.iic.rug.ac.be (8.11.6/8.11.6) with ESMTP id h56F03x31718 for ; Fri, 6 Jun 2003 17:00:03 +0200 Date: Fri, 6 Jun 2003 17:00:03 +0200 Message-Id: <200306061500.h56F03x31718@otsrv1.iic.rug.ac.be> From: stevenn@outerthought.org To: cocoon-docs@xml.apache.org Subject: [WIKI-UPDATE] SendingEmail HowTos Fri Jun 6 17:00:03 2003 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Page: http://wiki.cocoondev.org/Wiki.jsp?page=SendingEmail , version: 1 on Fri Jun 6 14:21:25 2003 by AndrewSavory New page created: + This is a quick guide to configuring Cocoon so that you can send email from within an XSP. It draws on the content found at [Cocoon Center|http://www.cocooncenter.de/cc/documents/resources/sendmail/], updating it for Cocoon 2.0.4. + + You need a copy of [JavaMail|http://java.sun.com/products/javamail/] ({{mail.jar}}) and [Java Activation Framework|http://java.sun.com/beans/glasgow/jaf.html] ({{activation.jar}}). Place them in the {{WEB-INF/lib/}} directory of your Cocoon installation (or into lib/local/ of the source distribution). + + Although the sendmail logicsheet now ships with Cocoon, it is not available by default. To solve this, you need to edit your {{cocoon.xconf}}. Find the section for {{}}, and within it, add: + + {{{ + + + + + + }}} + + Then, create an XSP file similar to the one in the Cocoon Centre article. Email should now work. + Page: http://wiki.cocoondev.org/Wiki.jsp?page=HowTos , version: 99 on Fri Jun 6 14:08:09 2003 by AndrewSavory + + * __[Sending Email]__ -- how to configure Cocoon to send email from within an XSP -- [AndrewSavory]