Or just set mail.smtp.port="newPort" into the properties when you create a session.
Jim ----- Original Message ----- From: "Xinji Gu" <[EMAIL PROTECTED]> > Is there a mail.smtp.port as in stand alone JavaMail application? > > Jim > > ----- Original Message ----- > From: "Maya Vayner" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Monday, May 13, 2002 4:06 PM > Subject: How can I change outgoing email server port number from default to > something else? > > > > Hello, > > > > My outgoing smtp server is using non-default port number to get emails > through. It is not > > 25, which is by default set by tomcat. I tried to find the answer but it > seems that no > > one ever had to use other port number but 25. > > Can anyone suggest a solution? > > > > hostname:2525 did not work when I set it to that in the server.xml > mail.smtp.host > > resource property. > > > > Thank you. > > > > Maya Vayner > > > > __________________________________________________ > > Do You Yahoo!? > > LAUNCH - Your Yahoo! Music Experience > > http://launch.yahoo.com > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>