ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LeeAnn Pultz <lee...@sesame.com>
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="mail.sesame.com" subject="VSS Backup - 
${vss_db}${DSTAMP}" from="leeann@sesame.com">
   <to name="leeann@deadmime.com, leeann@sesame.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>

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.
<null@mail.sesame.com>:
Sorry, no mailbox here by that name. (#5.1.1)
--- Below this line is a copy of the message.
Return-Path: <leeann@sesame.com>
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" <null>
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 <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
leeann@sesame.com



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


Mime
View raw message