Try replacing the , with ; e.g [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
with [EMAIL PROTECTED];[EMAIL PROTECTED];[EMAIL PROTECTED] prasanna -----Original Message----- From: LeeAnn Pultz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 12:03 PM To: [EMAIL PROTECTED] Subject: Ant Mail Task 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="[EMAIL PROTECTED]"> <to name="[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]" /> <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 [EMAIL PROTECTED] 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. <[EMAIL PROTECTED]>: Sorry, no mailbox here by that name. (#5.1.1) --- Below this line is a copy of the message. Return-Path: <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] To: "[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]" <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 [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>