def connectionMade(self):
        """
        Called when a connection has been made, and triggers sending an C{EHLO}
        to the server.
        """
        self._tlsMode = ISSLTransport.providedBy(self.transport)
        SMTPClient.connectionMade(self)
        self._okresponse = self.esmtpState_ehlo

        Called when a connection has been made, and triggers sending an C{EHLO}
        to the server.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/mail/smtp.py