Table of Contents

TTMSFNCCustomCloudMicrosoftOutlookMail Class

Base class that connects to a Microsoft Outlook mailbox and provides reading folders and messages, downloading attachments, and sending and deleting messages.

API unit family: TMSFNCCloudMicrosoftOutlookMail Inherits from: TTMSFNCCustomCloudMicrosoft

Syntax

TTMSFNCCustomCloudMicrosoftOutlookMail = class(TTMSFNCCustomCloudMicrosoft)

Remarks

Requests are authenticated with OAuth and run asynchronously; each request raises a corresponding completion event when it finishes.

Properties

Name Description
Folders Collection of mail folders retrieved by this component.
Mails Collection of mail items retrieved by this component.

Methods

Name Description
DeleteMessage Deletes the supplied mail item.
ImageToBase64 Encodes a local image file as a Base64 string for embedding in an HTML message.
SendMailMessage Sends a mail message built from the supplied subject, body and recipients.
SendMessage Sends a mail message built from the supplied subject, body and recipients.