cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: rev 47646 - in cocoon/trunk/src/documentation/xdocs/userdocs: actions xsp
Date Fri, 01 Oct 2004 13:15:20 GMT
Author: vgritsenko
Date: Fri Oct  1 06:15:17 2004
New Revision: 47646

Modified:
   cocoon/trunk/src/documentation/xdocs/userdocs/actions/sendmail-action.xml
   cocoon/trunk/src/documentation/xdocs/userdocs/xsp/sendmail.xml
Log:
Update docs with smtp auth params


Modified: cocoon/trunk/src/documentation/xdocs/userdocs/actions/sendmail-action.xml
==============================================================================
--- cocoon/trunk/src/documentation/xdocs/userdocs/actions/sendmail-action.xml	(original)
+++ cocoon/trunk/src/documentation/xdocs/userdocs/actions/sendmail-action.xml	Fri Oct  1 06:15:17
2004
@@ -86,7 +86,11 @@
 <![CDATA[
 <map:match pattern="mail/*">
   <map:act type="sendmail">
-    <map:parameter name="smtphost" value="localhost"/>
+    <!-- To override defaults specified in cocoon.xconf:
+    <map:parameter name="smtp-host" value="localhost"/>
+    <map:parameter name="smtp-user" value="john"/>
+    <map:parameter name="smtp-password" value="john"/>
+    -->
     <map:parameter name="from" value="cocoon@localhost"/>
     <map:parameter name="to" value="mailinglist@somewhere.com"/>
     <map:parameter name="subject" value="{request-param:subject}"/>
@@ -131,11 +135,25 @@
           <th>Description:</th>
         </tr>
         <tr>
-          <td>smtphost</td>
+          <td>smtp-host</td>
           <td>no</td>
           <td>
             The IP address or the name of the host, which should deliver the
             email message. Better known as the mail transfer agent or short MTA.
+          </td>
+        </tr>
+        <tr>
+          <td>smtp-user</td>
+          <td>no</td>
+          <td>
+            User name
+          </td>
+        </tr>
+        <tr>
+          <td>smtp-password</td>
+          <td>no</td>
+          <td>
+            Password
           </td>
         </tr>
         <tr>

Modified: cocoon/trunk/src/documentation/xdocs/userdocs/xsp/sendmail.xml
==============================================================================
--- cocoon/trunk/src/documentation/xdocs/userdocs/xsp/sendmail.xml	(original)
+++ cocoon/trunk/src/documentation/xdocs/userdocs/xsp/sendmail.xml	Fri Oct  1 06:15:17 2004
@@ -182,8 +182,11 @@
       <sendmail:from>from address</sendmail:from>
       <sendmail:to>some maillinglist address</sendmail:to>
       <sendmail:subject><xsp-request:get-parameter name="subject"/></sendmail:subject>
-      <!-- Modify the next line to point to your mail server -->
+      <!-- Uncomment to override defaults from cocoon.xconf
       <sendmail:smtphost>localhost</sendmail:smtphost>
+      <sendmail:smtpuser>localhost</sendmail:smtpuser>
+      <sendmail:smtppassword>localhost</sendmail:smtppassword>
+      -->
       <sendmail:body><xsp:expr>body.toString()</xsp:expr></sendmail:body>
       <sendmail:attachment>
         <sendmail:param name="object"><xsp:expr>request.get("attachment")</xsp:expr></sendmail:param>
@@ -319,7 +322,7 @@
           </td>
 
           <td>The IP-address or the name of the host, which should
-	    deliver the email message. Better know as the mail
+	    deliver the email message. Better known as the mail
 	    transfer agent or short MTA.</td>
         </tr>
 

Mime
View raw message