This subsection describes the POP3 provider-specific session properties.
The following table lists and describes the POP3 provider-specific session properties.
Table 8-5 List of POP3 provider-specific session properties
No. | Property | Default value | Valid value | Operation when an invalid value is specified |
---|---|---|---|---|
1 | mail.pop3.connectiontimeout | 0 (Wait infinitely) | 0 to 2147483647 (unit: millisecond) | The message KDJE59100-W is output when connecting to the mail server. The default value is used. |
2 | mail.pop3.rsetbeforequit | false | true, false (not case-sensitive) | The message KDJE59100-W is output when the javax.mail.Store object is acquired. The default value is used. |
3 | mail.pop3.timeout | 0 (Wait infinitely) | 0 to 2147483647 (unit: millisecond) | The message KDJE59100-W is output when connecting to the mail server. The default value is used. |
The following is a description of the properties:
This property specifies the timeout value until a connection is established (unit: millisecond).
If you specify 0, the system continues to wait infinitely.
If the timeout value is greater than the timeout value based on the TCP resend timer of the OS, or if the timeout is not to be monitored, the timeout value based on the TCP resend timer is enabled. Note that the timeout based on the resend timer differs depending on the OS.
This property specifies whether to issue the RSET command before the QUIT command when you close the folder.
If you specify true, the RSET command is issued before the QUIT command, and the delete mark assigned to the message is removed. For servers in which the delete mark is automatically assigned, you can prevent the deletion of the message without a user request.
If you specify false, the RSET command is not issued before the QUIT command.
This property specifies the timeout value (unit: millisecond) for communication (read) with the POP3 server.
If you specify 0, the system continues to wait infinitely.
If the timeout value is greater than the timeout value based on the TCP resend timer of the OS, or if the timeout is not to be monitored, the timeout value based on the TCP resend timer is enabled. Note that the timeout based on the resend timer differs depending on the OS.