public class SMTPSSLTransport extends SMTPTransport
starttls
Modifier | Constructor and Description |
---|---|
protected |
SMTPSSLTransport(MailSession session) |
Modifier and Type | Method and Description |
---|---|
void |
connect(Socket connection) |
protected void |
startTLS()
Issue the STARTTLS command and switch the socket to TLS mode if it succeeds.
|
close, connect, connect, ehlo, getRequireStartTLS, issueCommand, protocolConnect, readServerResponse, sendMessage, simpleCommand, simpleCommand, supportsExtension
protected SMTPSSLTransport(MailSession session)
public void connect(Socket connection) throws MessagingException
connect
in class SMTPTransport
MessagingException
protected void startTLS() throws MessagingException
SMTPTransport
startTLS
in class SMTPTransport
MessagingException