You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Lajos Moczar <lm...@galatea.com> on 2002/04/25 05:33:30 UTC
More sendmail problems
Hi folks -
I checked out the latest sendmail.xsl from CVS, but I get a
"javax.mail.internetParseException" that I haven't seen anyone else get.
My xsp is attached. Its real simple, just like the examples that have
been floating around the last few days. Does this have anything to do
with encoding type?
Thanks in advance,
Lajos
galatea.com
**************************** sendmail.xsp **********************
<?xml version="1.0"?>
<xsp:page language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:sendmail="http://apache.org/cocoon/sendmail/1.0"
>
<page>
<title>Hello there</title>
<sendmail:send-mail>
<sendmail:smtphost>mail.earthlink.net</sendmail:smtphost>
<sendmail:from>lmocz@galatea.com</sendmail:from>
<sendmail:to>lmocz@galatea.com</sendmail:to>
<sendmail:subject>Test</sendmail:subject>
<sendmail:body>This is a test</sendmail:body>
</sendmail:send-mail>
</page>
</xsp:page>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: More sendmail problems
Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 24.Apr.2002 -- 09:33 PM, Lajos Moczar wrote:
> Hi folks -
>
> I checked out the latest sendmail.xsl from CVS, but I get a
> "javax.mail.internetParseException" that I haven't seen anyone else get.
> My xsp is attached. Its real simple, just like the examples that have
> been floating around the last few days. Does this have anything to do
> with encoding type?
Indeed, you need to specify a charset
e.g. <sendmail:charset>ISO-8859-1</sendmail:charset>
I will fix that today.
Chris.
--
C h r i s t i a n H a u l
haul@informatik.tu-darmstadt.de
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>