Index of /school/cs164/as1/
Name | Last Modified | Size |
---|---|---|
Parent Directory | ||
pop3 | 2011-07-11 07:00 | 64k |
pop3.cc | 2011-07-11 07:00 | 10k |
POP3 MAIL CLIENT
RYAN HOSKIN - XXX-XX-3343 - COMPUTER SCIENCE 164
SECTION 23 - ASSIGNMENT 1
>To Compile: g++ -o pop3 pop3.cc
>To Run: pop3 <mailserver>
What my program does is takes the specified server and
connects. Then the user is prompted for a username/pw
which is checked for validity.
The program then calls the list function, from which the
number of messages are counted, and the octet values for
each message are stored in a queue, so that they can be
used when outputting the message information.
Now the program uses the top function to extract header
information. The program searches through the obtained
header for the sender and the subject of each message,
each of which is formatted properly for length and for
things such as quotation marks. After each is formatted
the program prints these values to the screen along with
each email's octet value in an ordered layout similar to
that displayed by the frm command.
Proudly Served by LiteSpeed Web Server at ryanhoskin.com Port 443