In case anyone is using the util.mail classes I just checked in some
changes.

The way you add attachments to MultiPartEmail has changed.  It can now
handle multiple attachments but you now pass in a Vector of EmailAttachment
objects to be attached instead of just the name, path, and description of a
single attachment.  Some constants in Email were removed to go with this
change.

Another thing to note in MultiPartEmail is that I'm using URLDataSource
instead of ByteArrayDataSource.  For some reason jpegs and text file
attachments didn't send properly when I was using ByteArrayDataSource.
Don't have time to look into this right now though.

When I have time I'll look at the MailMessage class and see about having one
set of mail classes.

If anyone if interested please help improve these classes.

Frank



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to