[jboss-cvs] jboss-seam/examples/mail/view ...
Peter Muir
peter at bleepbleep.org.uk
Sat Feb 17 18:35:33 EST 2007
User: pmuir
Date: 07/02/17 18:35:33
Modified: examples/mail/view index.xhtml
Log:
JBSEAM-840
Revision Changes Path
1.10 +25 -9 jboss-seam/examples/mail/view/index.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: index.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/mail/view/index.xhtml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- index.xhtml 4 Feb 2007 20:58:26 -0000 1.9
+++ index.xhtml 17 Feb 2007 23:35:33 -0000 1.10
@@ -12,7 +12,10 @@
</head>
<body>
- <h1>Sample Emails</h1>
+ <h1>Seam Email</h1>
+
+ <p>Welcome to the Seam Email example. This example demonstrates Seam's email templating.</p>
+ <p>You need to enter a name and email address to receive the example emails in the form below.</p>
<h:form>
<h:panelGrid columns="2">
@@ -34,9 +37,22 @@
<h:messages infoStyle="info" errorStyle="error" fatalStyle="fatal" warnStyle="warn" />
</h:form>
- <h1>Help!</h1>
- <p>If you have problems sending emails from this example you might have a firewall blocking outgoing email. You'll need to edit <code><mail:mailSession></code> in <code>resources/WEB-INF/components.xml</code> a <code><mail:mailSession></code>, set a SMTP gateway to relay via and then run the <code>ant deploy</code> again.</p>
+ <h2>Help - it's not working!</h2>
+ <ul>
+ <li><b>Setting an SMTP relay</b> - If you have problems sending emails from this example you might have a firewall
+ blocking outgoing email. You'll need to edit <code><mail:mailSession></code>
+ in <code>resources/WEB-INF/components.xml</code> a <code><mail:mailSession></code>,
+ set a SMTP relay to relay via and then run the <code>ant deploy</code> again.</li>
+
+ <li><b>Servers other than JBoss AS</b> - This example deploys Meldware (from <a href="http://www.buni.org">buni.org</a>
+ - <code>meldware.ear</code>) to act as an SMTP server (it listens for authenticated
+ connections on <code>localhost:2525</code>). This means the mail example will
+ work out of the box on JBoss AS 4.0.5.GA. If you using another server you may need
+ to set an SMTP relay as described above.</li>
- <p>This example deploys an SMTP server (<code>buni-mail.ear</code>) which listens for authenticated connections on <code>localhost:2525</code>. This might fail if you have another service using port 2525 (you'll get a lot of errors when the applicaiton is deployed). To get around this you can set a SMTP gateway as descrived above.</p>
+ <li>Meldware will fail if you have another service using port 2525 (you'll get a errors
+ when the applicaiton is deployed). To get around this you can set a SMTP gateway as
+ described above.</li>
+ </ul>
</body>
</html>
More information about the jboss-cvs-commits
mailing list