Send an email using multiple providers Gmail, outlook, Apple Email, ... .
private func openEmailComposer(from viewController: parentViewController,
to: String, subject: String, body: String) {
let emailcomposer = EmailComposer(
parentViewController: parentViewController,
to: to,
subject: subject,
body: body)
emailcomposer.open()
}
iOS 10+
EmailComposer is available under the MIT license. See the LICENSE file for more info.