flutter_mailer 0.0.1 flutter_mailer: ^0.0.1 copied to clipboard
Share an email to device Email - Client supports multiple Attachments
flutter_mailer #
Share an email to device Email Client - supports multiple Attachments
based off of react-native-mail
- ✅ android
- ❌ ios
final MailOptions mailOptions = MailOptions(
body: 'a long body for the email <br> with a subset of HTML',
subject: 'the Email Subject',
recipients: ['example@example.com'],
isHTML: true,
bccRecipients: ['other@example.com'],
ccRecipients: ['third@example.com'],
attachments: [ new File('path/to/image.png'), ],
);
await FlutterMailer.send(mailOptions);
note gmail and other apps Might parse HTML out of the body.
Getting Started #
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.