I finally got it to work. I had to put the hard-coded path to my file. I’m still not getting one of my attachments; VSSCheckedOut.log. I’m working on that right now. But for the body html files everything is fine now. Thanks for your help and time in this matter. I really appreciate.

By any chance would you have an idea as to why my source safe checkout log file isn’t being sent? The 2 others are.

 

       Jean Michel Thériault

       Configuration and Installation Application Developer (COOP)

       Cactus Commerce

  http://www.cactuscommerce.com

 

  [EMAIL PROTECTED]

 


From: Felice Vittoria [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 11:59 AM
To: Jean-Michel Theriault; [EMAIL PROTECTED]
Subject: RE: [Nant-users] Need help with <mail task

 

Jean-Michel,

 

I'm curious to see what the output of that mail task is.   I can't think of anything at this moment.   This is very strange.  I tried your mail target on my machine (of course I changed the parameters to match my environment) and the htm file was displayed in the body of my email.  

 

What version of Nant are you using?  I tried this with Nant-0.85-20040711 (the latest nightly build).  

 

Felice

-----Original Message-----
From: Jean-Michel Theriault [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 9:09 AM
To: Felice Vittoria; [EMAIL PROTECTED]
Subject: RE: [Nant-users] Need help with <mail task

Yes I tried that, as stated in my last email. ( ….. code whenever I insert the direct path to the one I want, I get nothing). I don’t get the body at all when I try this.

Does anyone know of a different way I could call this file. Because I tried everything that I can think of and I can’t just get the one file I want. Here is my entire mail task code.:

 

<mail if="${sys.env.MailDev}" 

            from="[EMAIL PROTECTED]"

            tolist="${sys.env.MailDevTo}"

            mailhost="exchange1.fryty.ca"

            subject="[${sys.env.ProjectCode}] ${Email.SubjectVerbage}   ${Project.Build.Version}!"

            format="Html">

            <files>

                        <include name=" Result1.htm" />

            </files>

            <attachments>

                        <include name="T:\er\Build\proj\VSSCheckedOut.log" />

                        <include name="T:\er\Build\compile.log" />

                        <include name="T:\er\this.txt" />

            </attachments>

</mail>

 

 

 

Any ideas at all I will try so feel free to let me know of anything you can think of. It can be complex or simple. I just want this to work!!! Thanks a lot folks!!

       Jean Michel Thériault

[EMAIL PROTECTED]

 


From: Felice Vittoria [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 4:19 PM
To: Jean-Michel Theriault; [EMAIL PROTECTED]
Subject: RE: [Nant-users] Need help with <mail task

 

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]

 

 

<<image005.jpg>>

<<image006.jpg>>

<<image007.jpg>>

<<image008.jpg>>

Reply via email to