> -----Original Message-----
> From: Steve Loughran [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 11, 2001 8:58 AM
> To: Ant Developers List
> Subject: Re: [SUBMIT] Refactor & combination of mail tasks
>
>
>
> ----- Original Message -----
> From: "Rob Oxspring" <[EMAIL PROTECTED]>
> To: "Ant Developers List" <[EMAIL PROTECTED]>
> Sent: Tuesday, December 11, 2001 12:00 AM
> Subject: RE: [SUBMIT] Refactor & combination of mail tasks
>
>
> >
> > As an aside - was the patch that allows a port to be specified for the
> > <mail> task ever tested with an alternate port? I can't for the
> life of me
> > see how it works because MailMessage seems to connect before the port is
> > passed in to it.  Anyone in a better position to test this?
> >
>
> Dunno, but I do know that you cant seem to change the default port for the
> mime mail task, cos that aint part of the parameters you pass to
> Javamail...

It's a documented property for the default SMTP provider in JavaMail 1.2
(not sure about previously as I can't find docs):

mail.smtp.port|int|The SMTP server port to connect to, if the connect()
method doesn't explicitly specify one. Defaults to 25.

Rob

>
> On a related topic, I have added failonerror to the basic mail task. Will
> commit it in a mo'.
>
> -steve
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to