cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Updated: Sendmail Action
Date Fri, 18 Aug 2006 12:42:12 GMT
A document has been updated:

Document ID: 427
Branch: main
Language: default
Name: Sendmail Action (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 8/18/06 12:41:49 PM
Updated by: Helma van der Linden

A new version has been created, state: publish


This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 9252 bytes (previous version: 8374 bytes)
Content diff:
(21 equal lines skipped)
         &lt;map:action name="sendmail" logger="sitemap.action.sendmail"
(10 equal lines skipped)
    &lt;form action="/cocoon/mail/send-a-mail"
(13 equal lines skipped)
    <p>The posted HTTP request data is processed by this sitemap fragment.</p>
    &lt;map:match pattern="mail/*"&gt;
      &lt;map:act type="sendmail"&gt;
        &lt;!-- To override defaults specified in cocoon.xconf:
(35 equal lines skipped)
    into the Sendmail action.</p>
+++ <tbody>
(163 equal lines skipped)
    <tt>org.apache.cocoon.components.request.multipart.FilePart</tt> object).</p>
+++ </tbody>
    <p>The following is the list of parameters which are passed from Sendmail action
    back into the sitemap.</p>
+++ <tbody>
(26 equal lines skipped)
    delivered. It is unset if the email message had been successfully sent.</p>
+++ </tbody>
    <h1 id="hint">Additional Hint</h1>
(14 equal lines skipped)
    <p>With <tt>autosave-upload=true</tt> it worked flawlessly, even attaching
    multiple files.</p>
+++ <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
+++ recent and it doesn't work although the result of the action is
+++ <strong>success</strong>, the problem might lie</p>
+++ <p>in the existence of the Geronimo files. Due to licensing problems it was not
+++ possible to include Sun's mail API jars, but without Cocoon wouldn't compile.
+++ Therefore, we included the Geronimo jars.</p>
+++ <p>What you should do is:</p>
+++ <ul>
+++ <li>Download theĀ <a href=""> JavaMail</a>
+++ andĀ <a href="">
+++ JavaBeans Activation Framework (JAF)</a> API's from Sun to work.</li>
+++ <li>Add them to WEB-INF/lib.</li>
+++ <li>Remove geronimo-spec-javamail-*.jar and geronimo-spec-activation-*.jar from
+++ WEB-INF/lib.</li>
+++ </ul>

View raw message