ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Res Pons" <pon...@hotmail.com>
Subject RE: AW: How to embed a link in email notification?
Date Mon, 10 Apr 2006 18:03:04 GMT
If you plan to run nightly automated builds via a scheduler of some sort, 
like Anthill or CruiseControl, they automatically (well, not really, you 
have to check a box to send out emails) take care of it.
Or you can write your own ant.file; change the paths or prop names 
accordingly.  You can also tell it to send the log files as attachment and 
turn off the mime attrib.

<project name="Send Mail" default="mailer" basedir=".">

<!--  <property name="mailhost" value="${mail.host}"/>  -->

	<property environment="env" />
	<property file="${env.HOME}/.build.properties" />
	<property file="build/build.properties" />

   <target name="mailer">
     <mail from="${mail.sender}@domain.com"
           tolist="${mail.recepient}@domain.com"
           subject="Build${build.number} by Anthill is in progress..."
	   messagefile="build/msgone.txt"
           mailhost="${mail.host}"/>
   </target>

</project>


----Original Message Follows----
From: <Jan.Materne@rzf.fin-nrw.de>
Reply-To: "Ant Users List" <user@ant.apache.org>
To: <user@ant.apache.org>
Subject: AW: How to embed a link in email notification?
Date: Mon, 10 Apr 2006 18:57:00 +0200
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by 
bay0-mc6-f3.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 10 
Apr 2006 09:57:31 -0700
Received: (qmail 28494 invoked by uid 500); 10 Apr 2006 16:57:27 -0000
Received: (qmail 28483 invoked by uid 99); 10 Apr 2006 16:57:27 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)    by 
apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Apr 2006 09:57:27 -0700
Received: pass (asf.osuosl.org: local policy)
Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66)   
  by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Apr 2006 09:57:26 -0700
Received: from z011100.bk.fin.local (z011104.bk.fin.local 
[172.18.101.140])by dnsinet.rzf-nrw.de (8.13.6/8.13.6) with ESMTP id 
k3AGuwDc015946for <user@ant.apache.org>; Mon, 10 Apr 2006 18:56:58 +0200
Received: from z011134.bk.fin.local ([130.11.7.134]) by z011100.bk.fin.local 
with Microsoft SMTPSVC(6.0.3790.0); Mon, 10 Apr 2006 18:57:01 +0200
X-Message-Info: JGTYoYF78jGaUiWV/JBIitdFx+l0yrhVLepfIhD0+dI=
Mailing-List: contact user-help@ant.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:user-unsubscribe@ant.apache.org>
List-Help: <mailto:user-help@ant.apache.org>
List-Post: <mailto:user@ant.apache.org>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list user@ant.apache.org
X-ASF-Spam-Status: No, hits=0.6 required=10.0tests=NO_REAL_NAME
X-Spam-Check-By: apache.org
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: How to embed a link in email notification?
Thread-Index: AcZcv2rdaRW3F/xfQbq31jh/tsKocwAAE9lQ
X-OriginalArrivalTime: 10 Apr 2006 16:57:01.0193 (UTC) 
FILETIME=[C9459F90:01C65CBF]
X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path: user-return-55520-pons32=hotmail.com@ant.apache.org

Use HTML or just print the URL. Many eMail clients convert URLs to links.

Jan

 >-----Ursprüngliche Nachricht-----
 >Von: eagerbeaver [mailto:desnunan@hotmail.com]
 >Gesendet: Montag, 10. April 2006 18:54
 >An: user@ant.apache.org
 >Betreff: How to embed a link in email notification?
 >
 >
 >I am a newcomer to Ant. I am using the Mail task and Message
 >element to send email notification of each nightly build with
 >build reports attached. But I want to be able to embed a link
 >to the shared folder location of the nightly build reports instead.
 >
 >How do I do this?
 >
 >
 >--
 >View this message in context:
 >http://www.nabble.com/How-to-embed-a-link-in-email-notification
--t1426206.html#a3845798
 >Sent from the Ant - Users forum at Nabble.com.
 >
 >
 >---------------------------------------------------------------------
 >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
 >additional commands, e-mail: user-help@ant.apache.org
 >
 >

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message