ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LeeAnn Pultz <>
Subject Ant Mail Task
Date Wed, 28 Aug 2002 19:02:52 GMT
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:

<target name="mail">

   <!-- Mail log file -->
   <mail mailhost="" subject="VSS Backup - 
${vss_db}${DSTAMP}" from="">
   <to name=",," />
   <message>The ${vss_db}${DSTAMP} nightly backup has completed</message>
   <fileset dir="${deploy.home}">
     <include name="vss_backup_20020824.log"/>

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

I get a MAILER-DAEMON response:

Hi. This is the qmail-send program at
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) (
by 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
To: ",," <null>
Subject: VSS Backup - vss_test${DSTAMP}
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_Part_0_7579563.1030557920288"
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
The vss_test${DSTAMP} nightly backup has completed
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

Can anyone help me?  I must be doing something wrong with the <to> 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

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message