Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Mail task with Exchange Server

Mail task with Exchange Server

2007-07-03       - By Priest, James (NIH/NIEHS) [C]
Reply:     1     2     3     4     5  

> -----Original Message-----
> From: sjscabert [mailto:sjscabert@(protected)]
> Sent: Tuesday, July 03, 2007 9:31 AM
> To: user@(protected)
> Subject: RE: Mail task with Exchange Server
>
>
> So just to confirm, my mail task would have 25 as the
> mailport and the name
> of the Exchange server (as specified in Outlook, for instance)?

I believe your Exchange server needs to be setup for SMTP...

    <mail mailhost="your.smtp.server.com" mailport="25"
      subject="'${project.name}' build at revision
${svn.versionnum} successful"
      messagefile="${build.logfile}">
     <from address="${email.toaddress}"/>
     <to address="${email.fromaddress}"/>
    </mail>

Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.