nephish at xit.net wrote: >cool. so this line >server = smtplib.SMTP(localhost) >is when i connect ? Use the source, Luke. Source code for every standard module is included on your hard disk. If you look in the __init__ for "class SMTP", your question will be answered. -- - Tim Roberts, timr at probo.com Providenza & Boekelheide, Inc.