Allows send emails from flutter using native platform functionality.
In android it opens default mail app via intent.
compileSdkVersion 28 is used in this plugin and it should be used in app too.
MFMailComposeViewController is used to compose an email.
final Email email = Email( body: 'Email body', subject: 'Email subject', recipients: ['email@example.com'], cc: ['firstname.lastname@example.org'], bcc: ['email@example.com'], attachmentPaths: ['/path/to/attachment.zip'], isHTML: false, ); await FlutterEmailSender.send(email);
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.