public class DevMailConfigSource extends java.lang.Object implements MailConfigSource
Constructor and Description |
---|
DevMailConfigSource() |
Modifier and Type | Method and Description |
---|---|
java.nio.file.Path |
deadMailDir() |
Email |
fromAddress() |
java.net.URI |
mailServer() |
java.util.Optional<java.lang.String> |
password() |
MailProtocol |
protocol() |
java.util.List<java.time.Duration> |
retryIntervals() |
boolean |
skipServerCertificateValidation() |
java.util.Optional<Email> |
sysAdminAddress() |
java.util.Optional<java.lang.String> |
username() |
public Email fromAddress()
fromAddress
in interface MailConfigSource
public java.net.URI mailServer()
mailServer
in interface MailConfigSource
public java.util.List<java.time.Duration> retryIntervals()
retryIntervals
in interface MailConfigSource
public java.nio.file.Path deadMailDir()
deadMailDir
in interface MailConfigSource
public java.util.Optional<java.lang.String> username()
username
in interface MailConfigSource
public java.util.Optional<java.lang.String> password()
password
in interface MailConfigSource
public MailProtocol protocol()
protocol
in interface MailConfigSource
public boolean skipServerCertificateValidation()
skipServerCertificateValidation
in interface MailConfigSource
false
if the protocol is not SMTPS.public java.util.Optional<Email> sysAdminAddress()
sysAdminAddress
in interface MailConfigSource