> Well, right now the way I have it setup is pretty simple,  I have an
> xsp page that generates an email message(I made up some simili-MIME
> xml tags) then this goes thru an XSL file that transforms the output
> into a mime complient mail message, this is the input my MailSource
> receives, it implements a OutputStream and what I do is simply send
> the message when the close() method of the OutputStream is called,
> here is the source:

The sourceWritingTransformer in 2.1 is quite different to the one in 2.0.4. I don't 
know whether it is 'back-compatible', or whether you'd have to upgrade your app 
to 2.1. You could at least give it a go. From looking at the code, I see lots of 
message="some kind of text "+ pe, where pe is a processingException, which 
means that your exception text will make it into the ougoing SAX stream, which is 
what you want.

Alternatively, hack the 2.0.4 SourceWritingTransformer to do what you want. 

Hope that doesn't cause too many headaches!

Regards, Upayavira

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to