not to sure why this does this
server = smtplib.SMTP("smtp.mail.yahoo.com")
server.connect("www.mail.yahoo.com")
sendEmail("FlexPt1.txt")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 10, in sendEmail
File "/usr/lib/python2.5/smtplib.py", line 691, in sendmail
self.rset()
File "/usr/lib/python2.5/smtplib.py", line 453, in rset
return self.docmd("rset")
File "/usr/lib/python2.5/smtplib.py", line 378, in docmd
return self.getreply()
File "/usr/lib/python2.5/smtplib.py", line 355, in getreply
raise SMTPServerDisconnected("Connection unexpectedly closed")
smtplib.SMTPServerDisconnected: Connection unexpectedly closed