Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javamail question

 
Kasi Viswan
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a java client and at end of each task or run with my client i would like an email notification be sent to the user's email address.
Am not explicitly setting any port number in my code, it defaults to 25.

My office admin says port 25 will remain closed to block some virus.

What is the workaround for this issue, is there a way to change and set port number to a generic value that will always be open.



Please advice.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, obviously you need to set the port to whatever port the server is listening to...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic