File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
javawebserver port doubt
JBoss Remote Lookup
WAS 5.1 Oracle 9.1 clash
Difference between serverName and host name
Mail Sending Issue...