got it, sorry > -----Original Message----- > From: James Conway [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 14, 2002 4:48 PM > To: Tag Libraries Users List; [EMAIL PROTECTED] > Subject: RE: Mailer taglib and scriptlet recipient problems.... Help! > > > I'm trying this exact thing and it's not working. > > <mt:mail server="mail.gblx.net" to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]" > subject="your message"> > <mt:addrecipient type="to">[EMAIL PROTECTED]</mt:addrecipient> > <mt:message> > Test message > </mt:message> > > The mail works, but ignores the addrecipient completely. I've tried > setrecipient too with no success. > > I need it this way because the addrecipient has to come from the calling > page. > > What am I missing? > > James > > > -----Original Message----- > > From: Warren Wessels [mailto:[EMAIL PROTECTED]] > > Sent: Friday, May 03, 2002 3:06 PM > > To: 'Tag Libraries Users List' > > Subject: RE: Mailer taglib and scriptlet recipient problems.... Help! > > > > > > Thanks, Rich... > > This worked perfectly. > > > > -----Original Message----- > > From: Rich Catlett [mailto:[EMAIL PROTECTED]] > > Sent: Friday, May 03, 2002 8:47 AM > > To: Tag Libraries Users List > > Subject: Re: Mailer taglib and scriptlet recipient problems.... Help! > > Importance: High > > > > > > I you look at the tld you'll notice that the rtexprvalue is false for > > all the tags. If you want to use scriptlets, use them in the body of > > the setrecipient tag. > > > > <mailxfer:setrecipient type="to"> > > <%= userEmailAddress %> > > </mailxfer:setrecipient> > > > > Rich Catlett > > > > Warren Wessels wrote: > > > > >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]> > > > > > > > > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>