Bug 11617 - Ability to set smtp server using a tag
Summary: Ability to set smtp server using a tag
Status: CLOSED FIXED
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Mailer Taglib (show other bugs)
Version: unspecified
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-11 16:40 UTC by Michael Berg
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Berg 2002-08-11 16:40:39 UTC
Currently the mail: tag allows attributes such as to, from and cc to be set 
using either attributes or subtags (addrecipient etc). But it does not allow 
Server to be set - it looks mostly like an oversight, not a deliberate omission.

Subtags have proven to be extremely useful due to the nature of runtime 
evaluated custom tag attributes. Such attributes may contain only java and not 
further custom tags. For example, the following is not possible:

<mt:mail from="<mytags:something/>".....etc

However this may be achieved using subtags:

<mt:mail>
  <mt:from><mytags:something/></mt:from>
...

So to summarize: Please make a tag which allows the Server to be specified. It 
should be fairly trivial.
Comment 1 Rich Catlett 2002-09-07 18:51:44 UTC
There is now a ServerTag that can be used with in the body of the mail tag