ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LeeAnn Pultz <lee...@sesame.com>
Subject Re: Ant Mail Task
Date Wed, 28 Aug 2002 20:15:12 GMT
Thanks Marvin - I tried tolist and it seems to be working now.  Not sure 
why the to element used in the next, more complete example, doesn't seem to 
work for me :) but as long as the mail is sent and received, I'm happy.

For completeness' sake, here is my working target:

<target name="mail">
   <!-- Mail log file -->
   <mail mailhost="mail.sesame.com" subject="VSS Backup - 
${vss_db}${DSTAMP}" from="vss_backups@sesame.com" 
tolist="leeann@sesame.com, leeann@deadmime.com, lpultz@sesame.com">
   <message>The ${vss_db}${DSTAMP} nightly backup has completed</message>
   <fileset dir="${deploy.home}">
     <include name="vss_backup_20020824.log"/>
   </fileset>
   </mail>
  </target>

Thanks for your help and suggestions everyone!  I'm a recent convert to ant 
- and am really impressed with its flexibility and the wealth of tasks 
available.


At 03:38 PM 8/28/2002 -0400, Marvin Gainty wrote:

>Leeann
>
>The documentation seems to indicate you should use the Parameter "tolist"
>heres the link
>
><http://jakarta.apache.org/ant/manual/CoreTasks/mail.html>http://jakarta.apache.org/ant/manual/CoreTasks/mail.html
>Keep us apprised,
>
>Martin Gainty
>______________________________________________ Disclaimer and 
>confidentiality note Everything in this e-mail and any attachments 
>relating to the official business of Laconia Data Systems (LDS) is 
>proprietary to the company. It is confidential, legally privileged and 
>protected by law. LDS does not own and endorse any other content. Views 
>and opinions are those of the sender unless clearly stated as being that 
>of LDS.  The person addressed in the e-mail is the sole authorised 
>recipient. Please notify the sender immediately if it has unintentionally 
>reached you and do not read, disclose or use the content in any way.
>
>LDS can not assure that the integrity of this communication has been 
>maintained nor that it is free of errors, virus, interception or interference.
>              _______________________________________________
>
>
> >From: LeeAnn Pultz
> >Reply-To: "Ant Users List"
> >To: ant-user@jakarta.apache.org
> >Subject: Ant Mail Task
> >Date: Wed, 28 Aug 2002 12:02:52 -0700
> >MIME-Version: 1.0
> >Received: from nagoya.betaversion.org ([192.18.49.131]) by 
> mc2-f16.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Wed, 28 
> Aug 2002 12:06:06 -0700
> >Received: (qmail 7499 invoked by uid 97); 28 Aug 2002 19:06:26 -0000
> >Received: (qmail 7487 invoked by uid 98); 28 Aug 2002 19:06:25 -0000
> >Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm
> >Precedence: bulk
> >List-Unsubscribe:
> >List-Subscribe:
> >List-Help:
> >List-Post:
> >List-Id: "Ant Users List"
> >Delivered-To: mailing list ant-user@jakarta.apache.org
> >X-Antivirus: nagoya (v4218 created Aug 14 2002)
> >Message-Id: <5.1.0.14.0.20020828120237.02ef2050@mail.sesame.com>
> >X-Sender: lpultz@mail.sesame.com
> >X-Mailer: QUALCOMM Windows Eudora Version 5.1
> >X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
> >Return-Path: ant-user-return-24338-mgainty=hotmail.com@jakarta.apache.org
> >X-OriginalArrivalTime: 28 Aug 2002 19:06:06.0910 (UTC) 
> FILETIME=[F6647DE0:01C24EC5]
> >
> >Hi - was wondering if anyone has any pointers or places I could look
> >for help:
> >
> >I am trying to use the Mail task for Ant. I have the activation and
> >mail jars, and I am using ant 1.5 on Windows 2000 with jre1.3.1
> >
> >My test target is:
> >
> >
> >
> >
> >
> >
> > The ${vss_db}${DSTAMP} nightly backup has
> >completed
> >
> >
> >
> >
> >
> >and my command line is:
> >
> >D:\Sesame\projects\BackupScripts>backupscripts mail
> >-Ddeploy.home=D:\Sesame\projects\BackupScripts --Dvss_db=vss_test
> >
> >Build succeeds, but no mail is ever received at leeann@sesame.com
> >
> >I get a MAILER-DAEMON response:
> >
> >Hi. This is the qmail-send program at mail.sesame.com.
> >I'm afraid I wasn't able to deliver your message to the following
> >addresses.
> >This is a permanent error; I've given up. Sorry it didn't work out.
> >:
> >Sorry, no mailbox here by that name. (#5.1.1)
> >--- Below this line is a copy of the message.
> >Return-Path:
> >Received: (qmail 20826 invoked from network); 28 Aug 2002 17:46:41
> >-0000
> >Received: from unknown (HELO leeann) (10.1.17.201)
> >by 10-0-0-133.sesame.com with SMTP; 28 Aug 2002 17:46:41 -0000
> >Message-ID: <4877503.1030557920508.JavaMail.lpultz@leeann>
> >Date: Wed, 28 Aug 2002 11:05:20 -0700
> >From: leeann@sesame.com
> >To: "leeann@deadmime.com, leeann@sesame.com, lpultz@sesame.com"
> >
> >Subject: VSS Backup - vss_test${DSTAMP}
> >Mime-Version: 1.0
> >Content-Type: multipart/mixed;
> >boundary="----=_Part_0_7579563.1030557920288"
> >------=_Part_0_7579563.1030557920288
> >Content-Type: text/plain
> >Content-Transfer-Encoding: 7bit
> >The vss_test${DSTAMP} nightly backup has completed
> >------=_Part_0_7579563.1030557920288
> >Content-Type: application/octet-stream; name=vss_backup_20020824.log
> >Content-Transfer-Encoding: 7bit
> >Content-Disposition: attachment; filename=vss_backup_20020824.log
> >DATE is 20020824DATE is 20020824DATE is 20020824DATE is 20020824
> >------=_Part_0_7579563.1030557920288--
> >
> >
> >Can anyone help me? I must be doing something wrong with the
> >tag but I can't find any documentation to show me what else to try.
> >
> >Thanks in advance!
> >
> >
> >
> >
> >LeeAnn Pultz
> >Sesame Technology
> >831-461-7100 x115
> >leeann@sesame.com
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
> >
> >For additional commands, e-mail:
> >
>
>
>----------
>MSN Photos is the easiest way to share and print your photos: Click Here

LeeAnn Pultz
Sesame Technology
831-461-7100 x115
leeann@sesame.com
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message