Table of Contents

TTMSFNCCloudMicrosoftOutlookMail Class

Drop-in component for reading, composing and sending Outlook mail, including folders and attachments.

API unit family: TMSFNCCloudMicrosoftOutlookMail Inherits from: TTMSFNCCustomCloudMicrosoftOutlookMail

Syntax

TTMSFNCCloudMicrosoftOutlookMail = class(TTMSFNCCustomCloudMicrosoftOutlookMail)

Remarks

Configure authentication before issuing requests; each request runs asynchronously and reports its outcome through the matching event.

Properties

Name Description
Folders Collection of mail folders retrieved by this component. (inherited from TTMSFNCCustomCloudMicrosoftOutlookMail)
Mails Collection of mail items retrieved by this component. (inherited from TTMSFNCCustomCloudMicrosoftOutlookMail)

Methods

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

Events

Name Description
OnDeleteMessage Occurs when a request to delete a message has completed. (inherited from TTMSFNCCustomCloudMicrosoftOutlookMail)
OnGetAttachments Occurs when a request to retrieve the attachments of a message has completed. (inherited from TTMSFNCCustomCloudMicrosoftOutlookMail)
OnGetFolders Occurs when a request to retrieve the folders has completed. (inherited from TTMSFNCCustomCloudMicrosoftOutlookMail)
OnGetMails Occurs when a request to retrieve the messages has completed. (inherited from TTMSFNCCustomCloudMicrosoftOutlookMail)
OnSendMessage Occurs when a request to send a message has completed. (inherited from TTMSFNCCustomCloudMicrosoftOutlookMail)