Table of Contents

TTMSFNCCloudAIEmail Class

Tool set that sends and receives e-mail over SMTP and POP3 so an AI assistant can act on a mailbox.

API unit family: TMSFNCCloudAIToolSets Inherits from: TTMSFNCCloudAIToolSet

Syntax

TTMSFNCCloudAIEmail = class(TTMSFNCCloudAIToolSet)

Properties

Name Description
PopHost Host name of the POP3 server used to receive mail.
PopPassword Password used to authenticate with the POP3 server.
PopPort Port of the POP3 server used to receive mail.
PopUseSSL Whether the POP3 connection uses SSL.
PopUserName User name used to authenticate with the POP3 server.
SMPTPort Port of the SMTP server used to send mail.
SMPTUserName User name used to authenticate with the SMTP server.
SMTPHost Host name of the SMTP server used to send mail.
SMTPPassword Password used to authenticate with the SMTP server.
SMTPSendFrom Address messages are sent from.

Methods

Name Description
ConnectToServer Connects to the configured POP3 server.
DisconnectFromServer Disconnects from the POP3 server.
GetEmailCount Returns the number of messages available in the mailbox.
RetrieveEmail Retrieves summary information for the message at the given index.
RetrieveEmailMessage Retrieves the full message at the given index.