setMessageBody(_:isHTML:)
Sets the initial body text to include in the email.
Declaration
func setMessageBody(_ body: String, isHTML: Bool)Parameters
Discussion
This method replaces the previous body content with the new content. If the user has a signature file, the body content is inserted immediately before the signature. If you want to include images with your content, you must attach the images separately using the addAttachmentData(_:mimeType:fileName:) method.
Only call this method before you display the mail composition interface. Don’t call it after presenting the interface to the user.