04140049.txt 14-Apr-00


new mail check

Subject: new mail check
From: NLC <grigri@pacbell.net>

how can I check to see if there is new mail?
it's a normal mail account with mail server, login, and
passoword..
this should be pretty east I would hope, I just can't find
anything about it, only sending mail.
Thanks,
NLC


Subject: Re: new mail check
From: "Dirk Lesko [dLESKO[" <support@delete.this.funcky.com>

Using a TCP/IP connection, connect to port 110 on the
server. Send the command "USER username" +Chr(13)+Chr(10) to
the mail server. Read the response back on the same port.
THen Send the command "USER password"+Chr(13)+Chr(10) to the
mail server and then read the response back. (Always check
for errors in the response. At this point, issue a "STAT"
command and you will get back an OK and then the number of
messages and the total size.

-Dirk

Subject: Re: new mail check
From: NLC <grigri@pacbell.net>

you are awsome.. thank you