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>
--- <builtin-logicsheet>
+++ <pre><builtin-logicsheet>
<parameter name="prefix" value="sendmail"/>
<parameter name="uri"
value="http://apache.org/cocoon/sendmail/1.0"/>
<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>
--- <xsp:page language="java"
+++ <pre><xsp:page language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:sendmail="http://apache.org/cocoon/sendmail/1.0">
(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>
--- <form action="/cocoon/xsp/mail/send-a-mail" method="post"
+++ <pre><form action="/cocoon/xsp/mail/send-a-mail" method="post"
enctype="multipart/form-data">
<input type="text" name="subject" size="56" />
(17 equal lines skipped)
that <tt>enctype="multipart/form-data"</tt> is used. This is the XSP code,
that
is invoked:</p>
--- <pre>
--- <?xml version="1.0" encoding="ISO-8859-1"?>
+++ <pre><?xml version="1.0" encoding="ISO-8859-1"?>
<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)