Defined in file: hzMailer.h

POP3 Account. The hzPop3Acc (POP3 account) class enables applications to operate as a POP3 email client and recieve email messages from a POP3 server. Each hzPop3Acc instance comprises a single username and password pair and so can only access a single 'mailbox' or 'email account'. What constitutes a mailbox or email account is strictly a matter for the POP3 server. Some POP3 servers such as Epistula, have user centric mailboxes that can span multiple recipient email addresses. Other POP3 servers have address centric mailboxes which will only contain email messages for a single recipient email address. hzPop3Acc specifies a single file into which all emails for the account are aggregated and maintains a set of email ids for lookups and to avoid repeat downloads. The email messages themselves are available to the application as populated hzEmail instances.

Constructors/Detructors

hzPop3Acc*hzPop3Acc(void)
void~hzPop3Acc(void)

Public Methods:

hzEcodeCollect(hzVect<hzString>& messages)Collect emails from the POP3 Account (Conduct a POP3 session with the designated server). The emails are each placed in thier own file.
uint32_tCount(void)
hzEcodeGetEmail(hzEmail& theMessage)hzString& mailId, Go to the archive file for emails (one produced each day), and retrieve the email header and body for the given id
hzEcodeInit(hzString Server)hzString Username, hzString Password, hzString Repos, Initialize a POP3 Account that our application will access as client.

Member Variables:

hzSet<hzString>m_AlreadyIDs of already downloaded messages
hzChainm_ErrorFor error messages arising in a POP3 session
hzStringm_PasswordPassword for the account
hzStringm_ReposPathname of repository
hzStringm_ServerHostname for the account
hzStringm_UsernameUsername for the account