Hi All,

I am trying to have a dynamic mail sent out based on some DB fields.
Namely, I want to do the following:

        <%@ page language="java"%>
        <%@ taglib uri="/mailer.tld" prefix="mailxfer" %>
        ...
        <html>
        <head/>
        <body>
        ...
        </body>
        </html>
        <mailxfer:mail server="1.2.3.4"  from="[EMAIL PROTECTED]"
subject="Your Account">
                <mailxfer:setrecipient type="to" address="<%=
userEmailAddress %>"/>
                <mailxfer:message type="html">hello!</mailxfer:message>
                <mailxfer:send/>
        </mailxfer:mail>

But, for some reason, the scriptlet in the setrecipient tag is not
working. The email doesn't go through.  If I hard code an email address
in the tag, it works!  Also, I have tried using a scriptlet in the :mail
tag, but that has not had an different results.

Is this a taglib bug? Does anyone have similar experience?  My
environment is Oracle8i 8.1.7r3 with Apache/Jserv running great, as far
as I can tell.  I have the .tld in my htdocs root, and the .jar in my
jserv.properties classpath.

Thanks for any help!

Warren Wessels


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

Reply via email to