cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Sendmail Logicsheet
Date Mon, 21 Aug 2006 13:33:44 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/legacydocs/508.html

Document ID: 508
Branch: main
Language: default
Name: Sendmail Logicsheet (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 8/21/06 1:33:32 PM
Updated by: Helma van der Linden

A new version has been created, state: publish

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 9717 bytes (unchanged)
Content diff:
(32 equal lines skipped)
    <tt>cocoon.xconf</tt> is required. See, if the following fragment is already
    existing.</p>
    
--- <pre>
--- &lt;builtin-logicsheet&gt;
+++ <pre>&lt;builtin-logicsheet&gt;
      &lt;parameter name="prefix" value="sendmail"/&gt;
      &lt;parameter name="uri" value="http://apache.org/cocoon/sendmail/1.0"/&gt;
      &lt;parameter name="href"
(13 equal lines skipped)
    <em>http://apache.org/cocoon/sendmail/1.0</em>. These steps will result in
code
    like this:</p>
    
--- <pre>
--- &lt;xsp:page language="java"
+++ <pre>&lt;xsp:page language="java"
      xmlns:xsp="http://apache.org/xsp"
      xmlns:sendmail="http://apache.org/cocoon/sendmail/1.0"&gt;
    
(13 equal lines skipped)
    form is used, to post information about updated documentation to some imaginary
    mailing list. The XSP page is invoked from a HTML form like this.</p>
    
--- <pre>
--- &lt;form action="/cocoon/xsp/mail/send-a-mail" method="post"
+++ <pre>&lt;form action="/cocoon/xsp/mail/send-a-mail" method="post"
          enctype="multipart/form-data"&gt;
    
    &lt;input type="text" name="subject" size="56" /&gt;
(17 equal lines skipped)
    that <tt>enctype="multipart/form-data"</tt> is used. This is the XSP code,
that
    is invoked:</p>
    
--- <pre>
--- &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
+++ <pre>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
    &lt;xsp:page language="java"
        xmlns:xsp="http://apache.org/xsp"
        xmlns:xsp-request="http://apache.org/xsp/request/2.0"
(178 equal lines skipped)
    
    <h1>Probable solution to SendMail not working</h1>
    
--- <p>If you have setup your SendMail action in Cocoon 2.1.8 or 2.1.9 or more
+++ <p>If you have setup your SendMail Logicsheet in Cocoon 2.1.8 or 2.1.9 or more
    recent and it doesn't work although the result of the action is
    <strong>success</strong>, the problem might lie</p>
    
(17 equal lines skipped)


Mime
View raw message