Allows send emails from flutter using native platform functionality.
In android it opens default mail app via intent.
In iOS MFMailComposeViewController
is used to compose an email.
final Email email = Email(
body: 'Email body',
subject: 'Email subject',
recipients: ['[email protected]'],
cc: ['[email protected]'],
bcc: ['[email protected]'],
attachmentPath: '/path/to/attachment.zip',
);
await FlutterEmailSender.send(email);
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.