Skip to content

TTTMSFMXNative

Usage

The MFMailComposeViewController class provides a standard interface that manages the editing and sending an email message. You can use this view controller to display a standard email view inside your application and populate the fields of that view with initial values, such as the subject, email recipients, body text, and attachments. The user can edit the initial contents you specify and choose to send the email or cancel the operation.

Published Properties

Property name Description
Attachments A string list of file locaitons that need to be attached to the mail.
BccRecipients A string list of Bcc recipients.
Body The body of the mail. Can either be passed as plain or HTML text. Can be used in combination with the IsHTML property.
CcRecipients A string list of Cc recipients.
IsHTML Enables or disables whether the body needs to be sent as plain or HTML text.
Subject The subject of the mail.
ToRecipients A string list of To recipients.

Methods

Methods name Description
CanSendMail Returns whether mail can be sent or not.

Public Properties

Property name Description
MFMailComposeViewController Returns a reference to the native iOS MFMailComposeViewController.

Published Events

Events name Description
OnDidFinishWithResult Event that is called when the mail is either sent, cancelled, saved or when an error occured.