how does POP3 stuff work, i mean fo example, how can MSN or Yahoo or GMail or anything else check an incoming message for their server????

i havent got the slightest idea so any helps would be appreciated.