Don't lie in __all__ attributes when SSL is not available: only add the SSL
classes when they are actually created.
diff --git a/Lib/smtplib.py b/Lib/smtplib.py
index 874d970..5b2c6a0 100755
--- a/Lib/smtplib.py
+++ b/Lib/smtplib.py
@@ -52,7 +52,7 @@
 __all__ = ["SMTPException","SMTPServerDisconnected","SMTPResponseException",
            "SMTPSenderRefused","SMTPRecipientsRefused","SMTPDataError",
            "SMTPConnectError","SMTPHeloError","SMTPAuthenticationError",
-           "quoteaddr","quotedata","SMTP","SMTP_SSL"]
+           "quoteaddr","quotedata","SMTP"]
 
 SMTP_PORT = 25
 SMTP_SSL_PORT = 465
@@ -725,6 +725,8 @@
             self.sock = SSLFakeSocket(self.sock, sslobj)
             self.file = SSLFakeFile(sslobj)
 
+    __all__.append("SMTP_SSL")
+
 #
 # LMTP extension
 #