Bug 11617

Summary: Ability to set smtp server using a tag
Product: Taglibs Reporter: Michael Berg <mberg_public>
Component: Mailer TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: CLOSED FIXED    
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

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:


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