You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2002/09/19 21:28:55 UTC
DO NOT REPLY [Bug 12826] New: -
Cannot attach multiple files to an email...
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12826>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12826
Cannot attach multiple files to an email...
Summary: Cannot attach multiple files to an email...
Product: Taglibs
Version: 1.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Mailer Taglib
AssignedTo: taglibs-dev@jakarta.apache.org
ReportedBy: nmihali@fftw.com
Hi, I'm trying to attach multiple files to an email in a JSP page, but I only
get the last file attached as many times as number of files I need to attach.
For instance, in the code below, I'm trying to attach 2 files. The email gets
sent with 2 attachements, both being "FileName2.doc".
Please help !
<%@ taglib uri="http://jakarta.apache.org/taglibs/mailer-1.0" prefix="mt" %>
....................
<mt:mail session="mail/MailSession" from="blabla@xxx.com">
<mt:subject>Attach 2 files...</mt:subject>
<mt:setrecipient type="to">bbbb@xxx.com</mt:setrecipient>
<mt:message>Please read the below 2 files.</mt:message>
<mt:attach file="FileName1.doc"/>
<mt:attach file="FileName2.doc"/>
<mt:send/>
</mt:mail>
Thank you.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>