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, supportsExtensionprotected SMTPSSLTransport(MailSession session)
public void connect(Socket connection) throws MessagingException
connect in class SMTPTransportMessagingExceptionprotected void startTLS()
throws MessagingException
SMTPTransportstartTLS in class SMTPTransportMessagingException