You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Robert Badaracco <ba...@yahoo.com> on 2002/09/15 21:04:56 UTC

Problems using the attach mailer tag...

Hi,

I've just starting using the mailer tag library and
have successfully send simple messages using the
basic tags in my JSP code. The attach tag is giving me
a problem. If I do something like:

<mt:mail to="foo@home.net" from="bar@home.net"
subject="test">
     <mt:message>This is a test</mt:message>
     <mt:attach file="<%=fileAttachmentPath%>"/>
     <mt:send/>
</mt:mail>

The expression <%=fileAttachmentPath%> is not being
expanded to the actual value of the string.

What do I need to do to correct this?

Thanks
Bob Badaracco



__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>