8.2 Session properties

With JavaMail, you specify the mail sending and receiving-related settings as session properties when the javax.mail.Session class is created.

The session properties include the following types:

The values set for the session properties must be specified as character strings enclosed within " (double quotation marks).

Note that this subsection describes the SMTP provider and SMTPS provider-specific session properties and the POP3 provider-specific session properties.

Organization of this section
8.2.1 Session properties for connecting to the SMTP server
8.2.2 Session properties for connecting to the POP3 server