Interface SmtpEmailProfile.ConnectionSettings
- Enclosing interface:
- SmtpEmailProfile
public static interface SmtpEmailProfile.ConnectionSettings
The connection settings used for establishing a connection to an SMTP server
-
Method Summary
-
Method Details
-
getHostname
String getHostname()- Returns:
- the hostname of the SMTP server
-
getPort
int getPort()- Returns:
- the port that the SMTP server is listening to
-
isTlsEnabled
boolean isTlsEnabled()- Returns:
- true if SSL / TLS is enabled, false if SSL / TLS is disabled
-
isStartTlsEnabled
boolean isStartTlsEnabled()- Returns:
- true if Start TLS is enabled, false if Start TLS is disabled
-
getTlsProtocols
Collection<String> getTlsProtocols()- Returns:
- the TLS protocols enabled
-
getTimeout
long getTimeout()- Returns:
- the timeout value in milliseconds, used for both SMTP socket connect AND read timeout
-
isDebugEnabled
boolean isDebugEnabled()- Returns:
- true if debug is enabled, false if debug is disabled
-