cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] GetTogether2003Notes Mfonsen People SendingEmail LenyaDemo Wed Nov 12 17:00:07 2003
Date Wed, 12 Nov 2003 16:00:07 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=GetTogether2003Notes , version: 19 on Wed Nov
12 15:51:21 2003 by BertrandDelacretaz

- Videos of the presentations and PDFs are available online. See the events/gt2003 folder
on your local Apache [mirror|http://cocoon.apache.org/mirror.cgi] site.
+ Videos of the presentations, low-bandwidth audio files and PDFs are available online. See
the events/gt2003 folder on your local Apache [mirror|http://cocoon.apache.org/mirror.cgi]
site.
?                           +++++++++++++++++++++++++++



Page: http://wiki.cocoondev.org/Wiki.jsp?page=Mfonsen , version: 2 on Wed Nov 12 15:14:55
2003 by Mfonsen

- See my homepage [http://iki.fi/mf/] for more information.
+ !!Mika Fonsén
+ See my homepage [Mika Fonsén|http://iki.fi/mf/] for more information.
+ 
+ Some wiki-docs I've contributed to:
+ * [Modules] - an overview for beginners on different types of modules
+ * [SendingEmail] - a quick how-to on encoding JavaMail email below the original document
+ 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=People , version: 217 on Wed Nov 12 15:18:34
2003 by DanielErni

+ * [DanielErni]  --  Cocoon user, CH


Page: http://wiki.cocoondev.org/Wiki.jsp?page=SendingEmail , version: 5 on Wed Nov 12 15:08:48
2003 by Mfonsen

+ See also Cocoon documentation on Sendmail [Action|http://cocoon.apache.org/2.1/userdocs/actions/sendmail-action.html]
and [Logicsheet|http://cocoon.apache.org/2.1/userdocs/xsp/sendmail.html]. The cocoon sample
block Mail doesn't work in 2.1.2 with Tomcat 4.1.27 on my installation, but is easy to fix
using the documentation samples. --[Mfonsen]
- !!Encoding mail
- Encoding your email may be tricky, here's a quick-and-dirty solution I've ([Mfonsen]) used
with Tomcat 4.1.27 and Cocoon 2.1.2. Replace ISO-8859-1 with your favourite encoding.
+ !!Encoding mail --[Mfonsen]
+ Encoding your email may be tricky, here's a quick-and-dirty solution I've used with Tomcat
4.1.27 and Cocoon 2.1.2. Replace ISO-8859-1 with your favourite encoding.
+ 
- If you are using send mail action, your sitemap could look something like the example below.
This just sends email, doesn't show anything and uses input modules to get request parameters.
?                  ^   -

+ If you are using Sendmail action, your sitemap could look something like the example below.
This just sends email, doesn't show anything and uses input modules to get request parameters.
Set-encoding action is used to specify encoding of the request parameters, that are in this
case in UTF-8.
?                  ^                                                                     
                                                                                         
        +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

+ <map:act type="set-encoding">
+ 	<map:parameter name="form-encoding" value="UTF-8"/>
+ </map:act>
- Add -Dmail.mime.charset=ISO-8859-1 to your JVM options, for example using environment variable
JAVA_OPTS that Tomcat Startup uses to execute JVM: 
+ Then add -Dmail.mime.charset=ISO-8859-1 to your JVM options. This is needed because the
charset parameter seems to be used only when encoding the body of the message. This property
is specified on the [JavaMail API Frontpage |http://java.sun.com/products/javamail/javadocs/index.html].
You can for example use environment variable JAVA_OPTS that Tomcat Startup uses to execute
JVM. 
- Everything else should now work fine, except that the subject is encoded in Cp1252 instead
of specifed encoding. This is caused by the JavaMail library packaged to Tomcat 4.1.27. In
version 1.3.1 of the JavaMail, this bug has been fixed. The only solution I've found to replace
this old implementation is to replace the actual JAR itself in common/lib directory with the
new one.
+ Everything else should now work fine, except that the subject is encoded in Cp1252 instead
of specifed encoding. This is caused by the JavaMail library packaged to Tomcat 4.1.27. In
version 1.3.1 of the JavaMail, this bug ([bugparade|http://developer.java.sun.com/developer/bugParade/]
4780255) has been fixed. The only solution I've found to replace this old implementation is
to replace the actual JAR itself in common/lib directory with the new one.
?                                                                                        
                                                                                         
                                            +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

- 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=LenyaDemo , version: 30 on Wed Nov 12 15:51:22
2003 by 149.219.195.221

+ bla
+ 
+ 



Mime
View raw message