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-04       - By Steve Loughran
Reply:     1     2     3     4     5  

sjscabert wrote:
> 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)?
>
> Thanks again,
>
> Shawn
>

1. 25 is the default port of SMTP; if your exchange server runs SMTP you
get it for free
2. if mail.jar and activation.jar is in the classpath, then Ant can do
secure authentication, which some servers like.
3. You can then use googles gmail servers, provided the from: account is
an authenticated gmail user.
4. this lets you use someone else's infrastructure for your emails

see:
http://antbook.cvs.sourceforge.net/antbook/examples/diary/core/core-chapter-07
.xml?view=markup

-steve


---
Steve Loughran       http://www.1060.org/blogxter/publish/5
Author: Ant in Action     http://antbook.org



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