From: Jean-Michel T. <Jea...@ca...> - 2004-06-29 17:36:20
|
Here's something that might help you, help me. Whenever I place the html = file in the attachement include, I get it in the email as an attachment. = But as soon as I place it in the <files> includes I don't even receive = the email. I don't know if u can make sense with this. It's pretty = confusing for me as a rookie with NAnt. Anyways, if u think of something = let me know!!=20 Thanks again!! =A0=A0=A0=A0Jean Michel Th=E9riault =A0=A0=A0=20 =A0=A0=A0=A0=A0 Jea...@ca... -----Original Message----- From: Jean-Michel Theriault=20 Sent: Tuesday, June 29, 2004 12:16 PM To: 'Gert Driesen' Cc: nan...@li... Subject: RE: [Nant-users] Need help with <mail task I tried putting a different file in the <files> parameter and I got the = email with the body containing that file. So I guess the problem is with = my html file.. I get this message from my ??.log file: [mail] File 't:\3_developing\Build\???\build.log' NOT attached to = message. File does not exist or cannot be accessed. This file does exist. So I guess it cannot be accesed. This is one of my = attachments. I will check if there is a possibility that the file in = html is in use when sending the email. Thanks again for your precious = help!! =A0=A0=A0=A0Jean Michel Th=E9riault =A0=A0=A0=20 =A0=A0=A0=A0=A0 Jea...@ca... -----Original Message----- From: Gert Driesen [mailto:ger...@pa...]=20 Sent: Tuesday, June 29, 2004 11:39 AM To: Jean-Michel Theriault Cc: nan...@li... Subject: Re: [Nant-users] Need help with <mail task > ----- Original Message ----- > From: "Jean-Michel Theriault" = <Jea...@ca...> > To: "Gert Driesen" <ger...@pa...> > Cc: <nan...@li...> > Sent: Tuesday, June 29, 2004 5:34 PM > Subject: RE: [Nant-users] Need help with <mail task > > I always get the build failure, that's normal since I catch the = failure elsewere. But I want to get the email with the attachments and the body = in html format saying that there has been a failure. The file in html = format gets created > and I can go and look at it from it's path afterwards, = but as soon as I add it in the code, I don't get the email anymore. Thanks for = your time... What process is creating the html file ? Is that html file a build log = ? Could it be that the file is in use, when you try to send the email ? = Does the <mail> task report an error ? Can you try sending another file in = the body ? Gert |