[daisy] HTML Email Notification

Scott Warren scottwarren at ocom.com.au
Mon Sep 4 05:15:40 CDT 2006


Yes, unfortunately after looking at it for too long, I didn't get it. Thanks
for the email response.

I have created the emails using XSLT. Apart from the procedure mentioned
below, what other areas do you see as need changing? I am going to assume
every user can receive HTML emails for my purposes. Although it would be
Nice to change the User details.

Regards
 
 
Scott Warren
Ocom Software
... Exceeding Quality.....
web | ocom.com.au


> -----Original Message-----
> From: daisy-bounces at lists.cocoondev.org [mailto:daisy-
> bounces at lists.cocoondev.org] On Behalf Of Bruno Dumon
> Sent: Friday, 1 September 2006 7:13 PM
> To: Daisy: open source CMS - general mailinglist
> Subject: Re: [daisy] HTML Email Notification
> 
> On Thu, 2006-08-31 at 15:48 +1000, Scott Warren wrote:
> > I am taking the existing code for email notification and using XSLT as a
> > template language. (I feel more comfortable with XSL) I noticed in
> > org.outerj.daisy.emailer.serverimpl.CommonEmailer. sendEmail() a line
> like
> >
> > Msg.setText(messageText, emailCharsSet);
> >
> > This seemed to fail for me when I set the email char set to text/html in
> the
> > myconfig.xml. I have changed the line to msg.setContent(messageText,
> > emailCharSet); which works as expected. My question is has anyone used a
> > value of text/html for existing Code?
> 
> Allow me to say it's a bit of a suprising question, since the setText
> method takes a character set as argument, not a mime type, so it doens't
> make sense to try to specify a mime type.
> 
> See also the javamail API docs:
> http://java.sun.com/products/javamail/javadocs/index.html
> 
> Supporting HTML mails for the notifications would be interesting indeed,
> but then this will require some redesign here and there.
> 
> --
> Bruno Dumon                             http://outerthought.org/
> Outerthought - Open Source, Java & XML Competence Support Center
> bruno at outerthought.org                          bruno at apache.org
> 
> _______________________________________________
> daisy community mailing list
> Professional Daisy support:
> http://outerthought.org/site/services/daisy/daisysupport.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy



More information about the daisy mailing list