cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <>
Subject Re: problem encoding using SendMailTransformer
Date Wed, 06 Oct 2010 07:52:25 GMT
On Tue, 2010-10-05 at 10:17 -0700, mvalencia wrote:
> Hi
>   I did what you tell me, and the result is:

The first line (the xml declaration) is?

> <document>
> <sendmail>
> <smtphost></smtphost>
> <smtpport>25</smtpport>
> <from></from>
> <to></to>
> <subject>españa camión</subject>
> <body mime-type="text/plain">
>           Nombre del remitente: prueba, Miguel<br />
>           Mensaje:Prueba de mensaje en españa, camión.</body>
> <reply-to></reply-to>
> </sendmail>
> </document>

Did you use a <map:serialize type="utf8-xml"/>? Can you attach the xml
to exclude problems that the mail client may produce? The underlying
server has the locale UTF8_ES?

> It's seems that all text lose encoding, but I have checked that emails have
> subject correct and bad encoding on body field.
> I load a test email:
> test-email.txt 

Hmm, let us do some tests: 
1) create a new match where you use the above input but 
a) use #&266; for all latin characters
b) write the "españa" yourself 
where you save the document and store them on the file system.
2) use <body src="cocoon://yourBody.xml"> and <body
src="cocoon://yourBody.xml" mime-type="text/plain"> and create a match
for the body.

What is happening?

Thorsten Scherler <>
codeBusters S.L. - web based systems
<consulting, training and solutions>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message