Hi All,
I've been trying to put emails read from a MySQL database into the body
of the mailer taglib "setrecipient", "addrecipient" and "replyto" tags
as follows:
<mt:mail subject = "New Record In Bug Tracker">
<mt:setrecipient type = "to"><sql:getColumn colName =
"email_to_1"/></mt:setrecipient>
<mt:addrecipient type = "to"><sql:getColumn colName =
"email_to_2"/></mt:addrecipient>
<mt:from>[EMAIL PROTECTED]</mt:from>
<mt:replyto><sql:getColumn colName =
"email_reply_to"/></mt:replyto>
<mt:server>casbah.gatech.edu</mt:server>
<mt:message>
This is a message.
</mt:message>
<mt:send/>
</mt:mail>
This doesn't work; I receive the following error:
javax.servlet.ServletException: javax/mail/Authenticator
However, when I specify emails as follows:
<mt:mail subject = "New Record In Bug Tracker">
<mt:setrecipient type =
"to">[EMAIL PROTECTED]</mt:setrecipient>
<mt:addrecipient type =
"to">[EMAIL PROTECTED]</mt:addrecipient>
<mt:from>[EMAIL PROTECTED]</mt:from>
<mt:replyto>[EMAIL PROTECTED]</mt:replyto>
<mt:server>casbah.gatech.edu</mt:server>
<mt:message>
This is a message.
</mt:message>
<mt:send/>
</mt:mail>
I receive no such error. Any thoughts as to the cause?
Thanks,
Dean
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]