> -----Original Message----- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 11, 2001 7:32 AM > To: [EMAIL PROTECTED] > Subject: Re: [SUBMIT] Refactor & combination of mail tasks > > > On Mon, 10 Dec 2001, Rob Oxspring <[EMAIL PROTECTED]> wrote: > > > The upshot of all this was that I've integrated the three encoding > > formats into a single task using JavaMail if available or uu > > encoding (via sun.misc.UUEncoder - presumably available to any sun > > based JDK?). > > Great. > > I wouldn't want to rely on the sun. classes (we could steal the Base64 > code from the HttpClient package of Jakarta-Commons) and I'm sure we > could find (or write if necessary) a replacement for UUEncode. But it > would be a good thing to start with.
I figured some replacement would probably come along before 1.5 was released and that the sun dependancy would be a resonable interim solution. Had a brief look around commons the other day thinking that there would be something in there to do it, but didn't come up with anything - I guess you need to keep track of whats going on in commons to have an idea of where to look. As an aside - was the patch that allows a port to be specified for the <mail> task ever tested with an alternate port? I can't for the life of me see how it works because MailMessage seems to connect before the port is passed in to it. Anyone in a better position to test this? Thanks Rob > > Stefan > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
