openEmail

fun openEmail(context: Context, addresses: Array<String>, subject: String = "", text: String = "")

Open email only by email apps (not other SMS or social apps)

Parameters

context

context.

addresses

A string array containing all the email addresses of the recipients of the "primary sender".

subject

Subject of the email.Default value is "".

text

Text of the email.Default value is "".