> #!c:\python\python.exe > > import cgi, smtplib > s=smtplib.SMTP("localhost") 'Localhost' will not work. You have to make this the address of a valid SMTP-server. > s.quit; > Should be s.quit() Hope this helps. Matthias -- matthias.huening at univie.ac.at http://www.ned.univie.ac.at/dt/