View RSS Feed

Recent Blogs Posts

  1. Java Mail API Session

    by , 04-25-2012 at 10:49 PM
    Top leveled entry class that presents mailing session is known as session. java.util.Properties object is used for seeking information regarding username/password and mail server. Private constructor is present in this class and session objects can be obtained via getDefaultInstance() & getInstance() method. The default session object are provided by the getDefaultInstance() method where authenticator objects and properties are taken as arguments.

    Java Code:
    Properties props = new
    ...
    Categories
    Mail API