Also, if you would rather do it with 2.2.1, I can backport the
applicable changes to that version.  It would be very helpful if you
have a unit test showing the failure as Eric pointed out.

--------------------------------------------
Quinton McCombs
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http://www.NequalsOne.com 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, April 03, 2003 9:00 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Help in use of VelocityHtmlEmails in Scheduled Jobs
> 
> 
> Rakesh,
>  
> Have you tried the 2.3 version from CVS?  Please try that, as 
> it has been refactored a bunch, and is much improved.  In 
> addition, there is now a unit test for the scheduled jobs, I 
> would urge you to provide a unit test showing sending an 
> email from a scheduled job so we can share a "failure" case.
>  
> At any rate, if you can try it with 2.3, and if you have 
> patches, please put a bug into scarab and attach your patchs 
> there, then we don't have to worry about email problems!
>  
> Eric Pugh
> 
> -----Original Message-----
> From: Rakesh Chauhan [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 03, 2003 7:36 AM
> To: Turbine Users List
> Subject: Re: Help in use of VelocityHtmlEmails in Scheduled Jobs
> 
> 
> Hi ,
>     I am using the turbine 2.2 released version. In one of 
> the previous email thread someone has mentioned that 
> VelocityHtml is now changed and the changes commited in the 
> CVS .The changed class was suppose to support the a 
> constructor which only takes a Context. But it was not 
> available in the 2.2 version so I had to migrate my own 
> modified VelocityHtmlEmail class from 2.1 to 2.2 . But after 
> the migration I am getting blank emails. I am attaching the 
> modified VelocityHtmlEmail  class and the class that I call 
> from my scheduled jobs .
>  
> Thanks,
> /rakesh
> 
> ----- Original Message ----- 
> From: Quinton McCombs <mailto:[EMAIL PROTECTED]>  
> To: 'Turbine Users List' <mailto:[EMAIL PROTECTED]>  
> Sent: Wednesday, April 02, 2003 8:01 PM
> Subject: RE: Help in use of VelocityHtmlEmails in Scheduled Jobs
> 
> Even the released version of 2.2 would be better.
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  [
> mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] 
> > Sent: Wednesday, April 02, 2003 6:09 AM
> > To: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
> > Subject: RE: Help in use of VelocityHtmlEmails in Scheduled Jobs
> > 
> > 
> > Rakesh,
> >  
> > I don't think your attachments came through.  Also, have you
> > tried 2.3 HEAD. There was some more refactoring to support 
> > commons-email.
> >  
> > Eric
> > 
> > -----Original Message-----
> > From: Rakesh Chauhan [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ]
> > Sent: Wednesday, April 02, 2003 3:37 AM
> > To: Turbine Users List
> > Subject: Re: Help in use of VelocityHtmlEmails in Scheduled Jobs
> > 
> > 
> > I am attaching the changed VelocityHtmlEmail and the class
> > which I use to send the Emails from my application and a 
> > sample template. Thanks, /rakesh
> > 
> > ----- Original Message -----
> > From: Fabio Daprile < mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> >  
> > To: Turbine Users List < mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> >  
> > Sent: Wednesday, April 02, 2003 12:42 PM
> > Subject: Re: Help in use of VelocityHtmlEmails in Scheduled Jobs
> > 
> > Hello,
> > 
> > i've got some similar problems when migrating from 2.1 to
> > 2.2, but i'll 
> > need your code to better understand
> > your problem.
> > 
> > greetings.
> > 
> > Fabio Daprile
> > 
> > Rakesh Chauhan wrote:
> > 
> > >Hi ,
> > >     I am trying to use VelocityHtmlEmail from my scheduled jobs.I
> > >changed
> > the VelocityHtmlEmail to include a constructor which takes a
> > Context as parameter. When I did the same changes in turbine 
> > 2.1 I was getting the HTML emails, but now I have moved to 
> > turbine2,2-rc2 and I get blank emails. Can anybody tell me 
> > why is this happening, I have debugged till HtmlEmail and I 
> > can see the message properly formatted and available there , 
> > only thing is I am getting blank Emails. 
> > >Thanks,
> > >/rakesh
> > >
> > >  
> > >
> > 
> > --
> > ************************************
> > W�rth Phoenix S.r.l.
> > Fabio Daprile
> > 
> > Via Kravogl 4
> > I-39100 Bolzano
> > Phone: +39 0471  564111 (direct 564066)
> > Fax: +39 0471  564122
> > mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
> > < mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> > 
> > http:// www.wuerth-phoenix.com <http://www.wuerth-phoenix.com>  <
> http://www.wuerth-phoenix.com <http://www.wuerth-phoenix.com> > 
> > *************************************
> > 
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
> > < mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> > 
> > For additional commands, e-mail: 
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
> > < mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> > 
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
> For additional commands, e-mail: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
> 
> 


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

Reply via email to