I am attempting to connect to the Gmail SMTP mail server and perform tasks as outlined by the skeleton code given to me. Only the use of sockets is allowed (so
socket
After STARTTLS, call
STARTTLS
clientSocket = ssl.wrap_socket(clientSocket)