Previous Next

See Also

The MailFolder table component reads mail from a mail server, using either the post office protocol (POP3) or the IMAP protocol. The default protocol used is POP3; for IMAP an additional argument can be used to specify this protocol name. The mail server name is passed in the constructor of the MailFolder component., where the mail account and folder name are also specified.

A query on the MailFolder component table will cause it to fetch any outstanding mail from the folder specified in the constructor. The fetched mail is left at the server unless the corresponding record in the MailFolder table is deleted and committed. It is not possible to INSERT or UPDATE on the MailFolder component.

If mail contains attachments, the attachments are shown as indiviual records. Binary attachments are converted to hexadecimal strings. The root path field shows the position of an attachment in its parent mail.