What a pain.  Darcee if you're running in a JSP 2.0 container (e.g. Tomcat
5.0) then I think you should be able to do this:

<mt:mail to='${param["to"]}' from='${param["from"]}'
subject='${param["subject"]}'>
     <mt:message>${param["body"]}</mt:message>
     <mt:send/>
</mt:mail>

I haven't used a JSP 2.0 container before, but I think this is correct.

> -----Original Message-----
> From: Dave Newton [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 2:32 PM
> To: Tag Libraries Users List
> Subject: Re: mail help
>
>
> > The code works when I replace the variables with static info.
>
> Oopos, my bad, didn't even see that.
>
> See
> http://jakarta.apache.org/taglibs/doc/mailer-doc/mailer-1.1/index.
> html#reference
>
> and notice that none of those attributes take rtexprs. That'd be my
> guess. Also, I'm not sure if you  meant to quote the message body or
> not.
>
> > <mt:message>"<%= body %>" </mt:message>
>
> Dave
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to