This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java mail
 
It's not a secret anymore!