[Tutor] Question

Alan G alan.gauld at freenet.co.uk
Tue Aug 2 09:29:50 CEST 2005

> Just curious to wonder if Python can be used to write a 
> program to check an HTTP mail server for mail, 

Yes, you would probably use the urllib module for that.

> and check more than one server, 

Yes that would be a fairly typical use for Python as 
a web client.

> even if they are using different proxies, 
> i.e. HTTP for one and SMTP for the other.

Proxies are servers that hide the real server, 
they act as pass through servers either to filter
or cache the data or to protect the recipient or 

http and smtp are protocols not proxies.

Python can deal with multiple protocols fairly 
easily - there are even modules specifically for each
but dealing with proxies is more difficult, it 
will rely on the proxies working like regular servers
- which they should! But trying to access the real 
server behind the proxy may be impossible.

Nathan Pinno,
Crew, Camrose McDonalds and owner/operator of Woffee

More information about the Tutor mailing list