On 1/11/2010 10:22 AM, Matthew Dixon Cowles wrote:
> 
>> know a way that we can get the required SMTP and POP3 (we will
>> distribute the program to others) information through code so that
>> we do not have to ask the students
> 
> Someone who knows more about Windows than I do may correct me if I'm
> mistaken, but I doubt that there's a simple and reliable way to do
> that.

You might look at what Thunderbird 3 does when you set up a new POP3
account. It asks for the email address first and then appears to just
try various names based on the email address domain using server names
like mail, pop3, smtp and the various standard ports until it finds ones
that work. Basically, it looks at the email address, guesses at the
possible POP3 and SMTP server names and ports and tries to find ones
that work. Sometimes it succeeds admirably well and sometimes it fails
at one or the other or both.

It may also have additional knowledge of popular domains.

You probably can't do better than that.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Email-SIG mailing list
Email-SIG@python.org
Your options: 
http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com

Reply via email to