public final class SessionPropertyCollector extends Object
| Constructor and Description |
|---|
SessionPropertyCollector() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
createCommonProperties(CommonProperties properties,
Protocol protocol)
Returns a Properties object for set up an email connection configuration.
|
static String |
createProperty(Protocol protocol,
String property)
Utility method for creating property names based on protocol and property postfix.
|
public static Properties createCommonProperties(CommonProperties properties, Protocol protocol) throws GeneralSecurityException
properties - properties. ImapProperties, SmtpPropertiesprotocol - a using protocolPropertiesGeneralSecurityException - if a MailSSLSocketFactory will is brokenCopyright © 2023. All rights reserved.