flutter_email_sender 0.0.1 flutter_email_sender: ^0.0.1 copied to clipboard
Allows send emails from flutter usin native platform functionality.
flutter_email_sender #
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.
Example #
final Email email = Email(
body: 'Email body',
subject: 'Email subject',
recipients: ['example@example.com'],
cc: ['cc@example.com'],
cc: ['bcc@example.com'],
attachmentPath: '/path/to/attachment.zip',
);
await FlutterEmailSender.send(email);
Getting Started #
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.