Hello,
you can use the "record" task from nant-contrib project. You have just to
stop recording just before sending the mail.
Pierre.
|---------+-------------------------------------->
| | [EMAIL PROTECTED] |
| | Sent by: |
| | [EMAIL PROTECTED]|
| | ceforge.net |
| | |
| | |
| | 08/10/04 15:07 |
| | |
|---------+-------------------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: [Nant-users] Mailinging the build log
|
>------------------------------------------------------------------------------------------------------------------------------|
I want to send an email notification of each build result, and I have it
mailing quite nicely, except for one problem.
I wish to attach the buildlog to the email, but since the NAnt
buildscript is still writing to the logfile at this time, it can't
attach it to the email.
I tried making a copy of the logfile, and attaching that, which works
fine, except that the log isn't completed at the time of mailing!
It gets cut of halfway through one of the previous target's 'log output'
to the file...
Any idea how I can attach my logfile to an email? Surely I'm not the
first to try this :)
Thanks!
Ernst Kuschke
-C# MVP
http://dotnet.org.za/ernst
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users
******************************************************************
The sender's email address has changed to firstname.lastname@ sgcib.com. You may want
to update your personal address book. Please see http://www.sgcib.com for more
information. **
This message and any attachments (the "message") are confidential and intended solely
for the addressee(s). Any unauthorised use or dissemination is prohibited. E-mails are
susceptible to alteration.Neither SOCIETE GENERALE nor any of its subsidiaries or
affiliates shall be liable for the message if altered, changed or falsified.
***************
L'adresse mail de votre correspondant a change en prenom.nom@ sgcib.com.Il est
recommande de mettre a jour votre carnet d'adresses personnel.Pour plus
d'informations, aller sur http://www.sgcib.com
**
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et
etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion
non autorisee est interdite. Tout message electronique est susceptible d'alteration.La
SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message
s'il a ete altere, modifie ou falsifie.
******************************************************************
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users