Simple & quick plugin for cross application data sharing of email fields in mobile development.
Flutter Mailer example app
Add to your pubspec dependencies, like so:
dependencies: flutter: sdk: flutter flutter_mailer: ^0.3.0
Instantiate mail options as follows:
final MailOptions mailOptions = MailOptions( body: 'a long body for the email <br> with a subset of HTML', subject: 'the Email Subject', recipients: ['email@example.com'], isHTML: true, bccRecipients: ['firstname.lastname@example.org'], ccRecipients: ['email@example.com'], attachments: [ 'path/to/image.png', ], ); await FlutterMailer.send(mailOptions);
note gmail and other apps Might parse HTML out of the body.
For help getting started with Flutter, view official online documentation.
For help on editing plugin code, view the documentation.
based off of react-native-mail
compileSdkVersionto 28 in order to prevent build errors with AndroidX.
MailOptionsfor by passing choser and picking specific app. android only
androidManifest.xmlfor file sharing
Demonstrates how to use the flutter_mailer plugin.
For help getting started with Flutter, view our online documentation.
Add this to your package's pubspec.yaml file:
dependencies: flutter_mailer: ^0.4.0+1
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.4.0+1||Feb 4, 2019|
|0.4.0||Feb 2, 2019|
|0.3.1||Nov 25, 2018|
|0.3.0||Nov 22, 2018|
|0.2.0||Nov 19, 2018|
|0.1.2||Nov 15, 2018|
|0.1.1||Sep 7, 2018|
|0.1.0||Aug 18, 2018|
|0.0.4||Jul 16, 2018|
|0.0.3||Jul 15, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.