shareMail

abstract fun shareMail(context: Context, subject: String?, text: String?, html: String?, attachmentPaths: List<String>?)

Share information with an external source by email.

Parameters

context
Current context of the app.
subject
The subject of the email.
text
The text body of the email, or null to derive from [html].
html
The HTML body of the email.
attachmentPaths
The paths to any attachments to be sent.