Author: pete.muir(a)jboss.org
Date: 2008-10-06 10:57:25 -0400 (Mon, 06 Oct 2008)
New Revision: 9206
Modified:
trunk/doc/Seam_Reference_Guide/en-US/Mail.xml
Log:
JBSEAM-3112
Modified: trunk/doc/Seam_Reference_Guide/en-US/Mail.xml
===================================================================
--- trunk/doc/Seam_Reference_Guide/en-US/Mail.xml 2008-10-06 05:15:52 UTC (rev 9205)
+++ trunk/doc/Seam_Reference_Guide/en-US/Mail.xml 2008-10-06 14:57:25 UTC (rev 9206)
@@ -468,7 +468,7 @@
<title>Meldware</title>
<para>
- Seam's mail examples use Meldware (from <ulink
url="http://buni.org">buni.org</ulink>)
+ Seam's mail examples use Meldware (from <ulink
url="http://buni.org">buni.org</ulink>)
as a mail server. Meldware is a groupware package that provides
<literal>SMTP</literal>, <literal>POP3</literal>,
<literal>IMAP</literal>,
webmail, a shared calendar and an graphical admin tool; it's written as a
@@ -478,43 +478,13 @@
<caution>
<para>
- The version of Meldware distributed with Seam (in the
<literal>mail/buni-meldware</literal>
- folder) is specially tailored for development - mailboxes, users and
+ The version of Meldware distributed with Seam (downloaded on demand)
+ is specially tailored for development - mailboxes, users and
aliases (email addresses) are created every time the application
deploys. If you want to use Meldware in production you should install
the latest release from <ulink
url="http://buni.org">buni.org</ulink>.
</para>
</caution>
- <para>
- To create mailboxes, users and aliases, you can use the
- <literal>meldware</literal> component:
- </para>
-
- <programlisting role="XHTML"><![CDATA[<components
xmlns="http://jboss.com/products/seam/components"
-
xmlns:core="http://jboss.com/products/seam/core"
-
xmlns:mail="http://jboss.com/products/seam/mail">
-
- <mail:mail-session host="smtp.example.com"/>
-
- <mail:meldware>
- <mail:users>
- <value>#{duke}</value>
- <value>#{root}</value>
- </mail:users>
- </mail:meldware>
-
- <mail:meldware-user name="duke" username="duke"
password="duke">
- <mail:aliases>
- <value>duke(a)jboss.org</value>
- <value>duke(a)jboss.com</value>
- </mail:aliases>
- <mail:meldware-user name="root" username="root"
password="root" administrator="true" />
-</components>]]></programlisting>
-
- <para>
- Here we've created two users, <literal>duke</literal>, who has two
email
- addresses and an administrator with the username
<literal>root</literal>.
- </para>
</section>