On Wed, 2006-02-08 at 13:49, Scott Frankel wrote: > Seems I'm still having issues with syntax. > > From what I can tell from my mail client, my outgoing mail server > name is either > > mail.<ispname>.net
This is it. > or > mail.<ispname>.net:<myUsername>@<myDomain>.com Not this. > The former yields the same socket error on connect() that I reported > earlier. Then you're doing something wrong. The line s = smtplib.SMTP("mail.ispname.net") instantiates an SMTP instance and connects it. Are you doing s.connect() afterwards? If yes, don't do that, it'll try to connect to the local host, which is not an smtp server. If you want to separate instantiation and connection, do this: s = smtplib.SMTP() s.connect("mail.ispname.net") -Carsten -- http://mail.python.org/mailman/listinfo/python-list