Bug 34786 - Attachments are not cleared in between re-uses of a mail tag
Summary: Attachments are not cleared in between re-uses of a mail tag
Status: RESOLVED LATER
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Mailer Taglib (show other bugs)
Version: unspecified
Hardware: Other Windows 2000
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-06 17:50 UTC by Pete Storey
Modified: 2009-11-29 19:40 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pete Storey 2005-05-06 17:50:37 UTC
If you attach a file using either the file or the URL attach constructs, then 
each time you run the mail tag, it attaches another copy of the file, thus by 
the time you have run it several times, it attaches several copies of the file 
ot the email being sent out.

I have fixed this along with adding two new features which I will also add;  I 
think it was simply adding a line body=null into the doStartTag() method of 
the Mail tag which made this work.
Comment 1 Henri Yandell 2009-11-29 19:40:35 UTC
Resolving. Taglib has been retired.