ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Dibi" <George.D...@intervoice.com>
Subject RE: sending email to multiple destination
Date Mon, 31 Jan 2005 23:33:58 GMT
This is what I have now.
And I using 
Apache Ant version 1.6.1 compiled on February 12 2004
However, I don't see the Activation.jar and the mail.jar in
$ANT_HOME/lib

<property name="mail.fromlist" value="george.dibi@intervoice.com"/>
<property name="mail.tolist" value="gdibi@intervoice.com"/>

<mail from="${mail.fromlist}"
        tolist= "${mail.tolist}"
        subject= "test"
        files = "courrier.txt"
        mailhost = "mail-relay-dal.intervoice.int"
        mailport ="25"
        failonerror = "false"/>

-----Original Message-----
From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com] 
Sent: Monday, January 31, 2005 5:26 PM
To: Ant Users List
Subject: RE: sending email to multiple destination

If one target works and the other does not, libs are not the issue,
right? It would appear to be the usage.

-Rob A

> -----Original Message-----
> From: George Dibi [mailto:George.Dibi@intervoice.com]
> Sent: Monday, January 31, 2005 2:56 PM
> To: Ant Users List
> Subject: RE: sending email to multiple destination
> 
> 
> I am trying to use 2 separate targets.
> This one works well:
> <target name="mymail">
> <mail mailhost="mail-relay-dal.intervoice.int" mailport="25"
> subject="isoft36 build notification">
>   <from address="george.dibi@intervoice.com"/>
>   <replyto address="george.dibi@intervoice.com"/>
>   <to address="gdibi_2000@yahoo.com"/>
>   <message>The build failed</message>
>   <fileset dir="d:/autobuild-report/appsupport1"
> includes="*.report"/>-->
>   <fileset dir="d:/intv/dat" includes="*.err"/>
> </mail>
> </target
> 
> The second one doesn't:
> 
>     <mail from    = "me"
>     tolist      = "you"
>     subject     = "test"
>     files = "courrier.txt"
>     mailhost    = "mail-relay-dal.intervoice.int"
>     mailport    ="25"
>     failonerror = "false"/>
> 
> "me" is a text file with one email address
> "you" is a text also with couple email addresses.
> 
> I am using, I think an older version of ANT maybe 1.5x. I 
> didn't install
> it.
> Do you think, I need a newer version?
> 
> -----Original Message-----
> From: Matt Benson [mailto:gudnabrsam@yahoo.com] 
> Sent: Monday, January 31, 2005 4:45 PM
> To: Ant Users List
> Subject: RE: sending email to multiple destination
> 
> What version of Ant are you using?  Did you build it
> yourself?  Do you have the required libraries?  It
> appears that the error you get is thrown before your
> <to> elements are used and after they are set.  Can
> you send mail to a single recipient using the to
> attribute?  A single nested <to> element?
> 
> --- George Dibi <George.Dibi@intervoice.com> wrote:
> 
> > 
> > It acts like a mail is sent with the javax error, in
> > conclusion no mail
> > is sent.
> > 
> > 
> > 
> > [mail] Failed to initialise MIME mail:
> > javax/mail/MessagingException
> >  [mail] Sending email: test
> >  [mail] Sent email with 1 attachment
> > 
> > il:
> >  [mail] Failed to initialise MIME mail:
> > javax/mail/MessagingException
> >  [mail] Sending email: isoft36 build notification
> >  [mail] Failed to send email
> > 
> > D FAILED
> > cadm_gdibi3\buildVOB\autobuild\buildiso.xml:31: IO
> > error sending mail
> > 
> > -----Original Message-----
> > From: Matt Benson [mailto:gudnabrsam@yahoo.com] 
> > Sent: Monday, January 31, 2005 3:50 PM
> > To: Ant Users List
> > Subject: RE: sending email to multiple destination
> > 
> > --- George Dibi <George.Dibi@intervoice.com> wrote:
> > 
> > > I tried that it didn't work
> > > 
> > > <to address="you@your.org" />
> > > <to address="me@my.org" />
> > > 
> > What was the result?
> > 
> > -Matt
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > http://mail.yahoo.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
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.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
> 
> 
> 


---------------------------------------------------------------------
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


Mime
View raw message