infinitepower18/emailclienthelper
A simple helper package to send an email using 3rd party email clients. Supported clients include Gmail, Outlook and Yahoo Mail.
Usage
To check if the Gmail app is available on the user's device:
if EmailClientHelper.isClientAvailable(.gmail) {
return true
} else {
return false
}To send an email using the Gmail app:
EmailClientHelper.sendEmail(client: .gmail, to: "example@example.com")Example
You can see an example of this package being used in the SubManager iOS app:
<img width="256" alt="image" src="https://github.com/user-attachments/assets/a393db67-001c-4b14-84a0-988340132f78">
Package Metadata
Repository: infinitepower18/emailclienthelper
Default branch: main
README: README.md