ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conelly, Luis (GNF, Contractor)" <Luis.Cone...@gnf.com>
Subject RE: Email alias
Date Fri, 02 Apr 2004 21:26:54 GMT
	My customer (the one whom provides me email address) has also a MS Exchange server as mail
server; I have tried with aliases, but failed; the content of my MailLogger.properties file
is:

MailLogger.mailhost=mail.host.ip.address
MailLogger.from=xxx@yyy.com
MailLogger.failure.to=ALIASXXX
MailLogger.failure.subject=Test
MailLogger.success.to=ALIASYYY
MailLogger.success.subject=TestSuccess

Then, I use following line to invoke ant:

$ ant  compile-dev -DMailLogger.properties.file ./MailLogger.properties -logger org.apache.tools.ant.listener.MailLogger

The mail was sent, but returned to me since the MS Exchange server was not able to deal with
the alias as mail address.

When I changed the line:

MailLogger.success.to=ALIASYYY

to

MailLogger.success.to=aaa@yyy.com

Succeed with no trouble at all.

I am pretty sure there are other ways to invoke MailLogger.properties file, but that's what
I could found on a quick view to ant code (which is always a good place to look for answers
when you have no clue about ant's behavior).

Hope this helps & Have a nice weekend

-LC

-----Original Message-----
From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com]
Sent: Friday, April 02, 2004 1:51 PM
To: Ant Users List
Subject: RE: Email alias


Please read...

http://cvs.apache.org/viewcvs/~checkout~/ant/docs/manual/listeners.html?content-type=text/html

-Rob Anderson

> -----Original Message-----
> From: Srikrishna.Partha@wellsfargo.com
> [mailto:Srikrishna.Partha@wellsfargo.com]
> Sent: Friday, April 02, 2004 11:33 AM
> To: user@ant.apache.org
> Subject: RE: Email alias
> 
> 
> real email addresses alike ....if you create a command 
> seperated list, what
> is the maxlength of the list ? What is the line seperator in 
> properties
> file. 
> 
> BUILD SUCCESSFUL
> Total time: 56 seconds
> MailLogger failed to send e-mail!
> java.lang.Exception: Missing required parameter: MailLogger.from
>         at
> org.apache.tools.ant.listener.MailLogger.getValue(MailLogger.java:201
> )
>         at
> org.apache.tools.ant.listener.MailLogger.buildFinished(MailLogger.jav
> a:155)
>         at 
> org.apache.tools.ant.Project.fireBuildFinished(Project.java:1913)
>         at org.apache.tools.ant.Main.runBuild(Main.java:628)
>         at org.apache.tools.ant.Main.start(Main.java:196)
>         at org.apache.tools.ant.Main.main(Main.java:235)
> 
>  MailLogger.mailhost=xxxx.wellsfargo.com
> MailLogger.from="srikrishna.partha@wellsfargo.com"
> MailLogger.failure.to="Ganesh.Venkataraman@wellsfargo.com"
> 
> MailLogger.failure.subject="Build failure"
> MailLogger.success.to="testemail"
> 
> Testemail is the distribution list I created.I don't what I 
> am missing.
> 
> -----Original Message-----
> From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com] 
> Sent: Friday, April 02, 2004 10:08 AM
> To: Ant Users List
> Subject: RE: Email alias
> 
> Email aliases are resolved by the smtp server. Ant's 
> Maillogger will send to
> email aliases and real email addresses alike.
> 
> -Rob Anderson
> 
> > -----Original Message-----
> > From: Srikrishna.Partha@wellsfargo.com 
> > [mailto:Srikrishna.Partha@wellsfargo.com]
> > Sent: Friday, April 02, 2004 10:01 AM
> > To: user@ant.apache.org
> > Subject: Email alias
> > 
> > 
> > How about email alias in Maillogger ?  
> > 
> > -----Original Message-----
> > From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com]
> > Sent: Friday, April 02, 2004 9:14 AM
> > To: Ant Users List
> > Subject: RE: Hi
> > 
> > I'm pretty sure that attachements get stripped from emails posts to 
> > the list.
> > 
> > -Rob Anderson
> > 
> > > -----Original Message-----
> > > From: Sumit AGARWAL [mailto:sumit.agarwal@st.com]
> > > Sent: Friday, April 02, 2004 2:04 AM
> > > To: user@ant.apache.org
> > > Subject: Hi
> > > 
> > > 
> > > I want to know one thing..
> > > Do u support attachment in mailing list?
> > > sumit
> > > 
> > > 
> > 
> > 
> ---------------------------------------------------------------------
> > 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message