Jean-Michel,
 
If you know the name of the file you want to attach then all you need to do is something like this:
 
<include name="filetobeattached.htm" />
 
Felice
-----Original Message-----
From: Jean-Michel Theriault [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 2:59 PM
To: [EMAIL PROTECTED]
Subject: Re: [Nant-users] Need help with <mail task

Well I’m almost there…I can now get my email and my attachments and the body file. Problem is, instead of only getting one body file I receive 3 of them. Inside my folder I have 3 html files. In my code whenever I insert the direct path to the one I want, I get nothing. When I insert this:

<include name="*.htm" />           I get nothing

 

<include name="**.htm" />         I get the three html files

 

<include name="*.htm" />

<exclude name="Result1.htm" />

<exclude name="Result2.htm" />            I still get the three html files.

 

How can I just receive the file I want??? I tried all kinds of stuff!!!

I’m presently using the july 3rd nighly build. Does someone have something else I could try?? Has there been any changes to this way of calling files??

 

Thanks!!

       Jean Michel Thériault

 

  [EMAIL PROTECTED]

 

 

<<image001.jpg>>

Reply via email to