SPEAR, Adrian, GBM wrote:
> I recently extended the source for the Mail task to allow property 
> expansion in files used to construct the body of the mail message - I 
> think this would make for a good feature addition to the Mail task.
>
At a minimum, there needs to be a way to control whether or not the 
property expansion takes place.

Are you aware that this can be done manually by using the <copy> task 
with the expandproperties filter to copy the original body file to a 
temporary location?  This is a bit more powerful, since there are other 
types of filters that can be applied.  This suggests that the syntax:

   <mail ...>
       <files>
          <include ...>
       </files>
       <filterchain> ... </filterchain>
       ...
    </mail>

might be a good way to specify this, avoiding an explicit <copy> task.

Gary


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to