@JvmOverloads fun Context.sendEmail(email: String, subject: String = "", text: String = "", attachment: Uri? = null): Boolean
Sends Email- This app open Email sending Intent
subject
- : Subject of the email, defaults to blank
text
- : Message of email, defaults to blank.
attachment
- : Uri of the file to attach, defaults to blank.
Return
Boolean indicating whether this activity is available or not. Usually when there is a
handler available for sending email, this method will start activity and return true
. When
there is no Intent Handlers available, it returns false
.