|
how it works
To send
a text email message to any address on the internet, the user application
calls a single function HsSmtpSendMail, specifying mail server name or
IP address, sender address, recipient address,
message text buffer and length, subject, cc and an event callback
function to use for reporting of operation result and server errors.
HS SMTP
library then resolves the server name, connects to it and transmits the
message according to SMTP RFC 821 protocol. HS SMTP Library incorporates
the necessary state machine, transparency procedures, and server
response processing required to comply to a simple and robust SMTP
client implementation.
Modular
design makes it easy to port HS SMTP protocol module to any environment. HS
SMTP internally at a lower layer interfaces to HS Sock library which provides
TCP transport services. User application need not worry about Winsock - HS
SMTP does all transmission, reception and event handling over socket layer.
hs SMTP library
architecture
The library is a stand-alone module which links directly to customer application:

|