Record Class IdServerMailTransportSMTP_TLS

java.lang.Object
java.lang.Record
com.io7m.idstore.server.api.IdServerMailTransportSMTP_TLS
Record Components:
host - The mail host
port - The port
All Implemented Interfaces:
IdServerJSONConfigurationElementType, IdServerMailTransportConfigurationType

public record IdServerMailTransportSMTP_TLS(String host, int port) extends Record implements IdServerMailTransportConfigurationType
Plaintext SMTP with a mandatory, authenticated STARTTLS upgrade. Strict validation of server certificates is enabled. Server certificates must be issued 1) by a certificate authority in the trust store; and 2) to a subject matching the identity of the remote SMTP server.