You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2004/10/01 15:14:22 UTC
svn commit: rev 47645 - in cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs: actions xsp
Author: vgritsenko
Date: Fri Oct 1 06:14:21 2004
New Revision: 47645
Modified:
cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/actions/sendmail-action.xml
cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/xsp/sendmail.xml
Log:
update docs with smtp auth parameters
Modified: cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/actions/sendmail-action.xml
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/actions/sendmail-action.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/actions/sendmail-action.xml Fri Oct 1 06:14:21 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/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/xsp/sendmail.xml
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/xsp/sendmail.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/src/documentation/xdocs/userdocs/xsp/sendmail.xml Fri Oct 1 06:14:21 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>