aspose file tools*
The moose likes Beginning Java and the fly likes java mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java mail" Watch "java mail" New topic
Author

java mail

vicky malhotra
Greenhorn

Joined: Feb 05, 2005
Posts: 16
I use the Transport.send to send a mail and give only the mail server host address and not the port number, it senda the mail. Does it not need the port number as well??
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Javamail will use the default SMTP port to send mail on if you don't supply a port number yourself.


42
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: java mail