On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTKernel-32
RTFiles-32
RTIP-32
RTIP-32 Programming Manual
Introduction
TCP/IP Networking
Programming with RTIP-32
Demo Programs
PPP
DHCP Client
DHCP Server
FTP Client
FTP Server
TFTP Client
TFTP Server
Telnet Client
Telnet Server
Web Server
SNMP Agent
POP3 Client
SMTP Client
SNTP Client
SMB Server
SMB Client
SMB3 Server
SMB3 Client
WLAN Driver
RTIP-32 Reference Manual
RTPEG-32
RTUSB-32
|
POP3 Client
The POP3 Client can retrieve mail information and mail messages, possibly with attachments, from a POP3 server.
The POP3 Client is an optional add-on for RTIP-32 and must be purchased in addition to RTIP-32 to be available. Applications requiring the POP3 Client must include header file Popapi.h and link library Mail.lib. The POP3 Client API is documented in the RTIP-32 Reference Manual.
The POP client establishes am optionally encrypted TCP connection to the POP server sends back a greeting. The POP Client then sends login information, using the USER and PASS commands. The POP server responds starting with "+OK" if the login was valid and "-ERR" if the login was invalid. The POP Client may then send the STAT command, in response to which the POP server will send a reply of the form "+OK n m," where n is the number of messages and m is the size of the mail file. The POP Client may then send the LIST command, which lists the size of each mail message individually. Commands of the form "RETR n" and "DELE n" may be used to retrieve and delete messages, respectively, where n is the number of the message. The POP Client uses the QUIT command to terminate the session. Another important command available to the POP Client is of the form "TOP n," where n is a message number. The server will send back the header from message n.
SNMP Agent
SMTP Client
|