flutter_email_sender 2.0.0

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 93

flutter_email_sender #

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.

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'],
  bcc: ['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.

2.0.0 #

  • Migrated to AndroidX.

1.2.0 #

  • Updated gradle and Kotlin versions to work with Android Studio 3.3.

1.1.0 #

  • Updated Swift version to 4.2.

1.0.1 #

  • Fixed compilation problem in flutter > 0.10.0 version (issue #5).

1.0.0 #

  • Added custom file provider to work nicely with 'open_file' plugin (issue #3).

0.1.0 #

  • Fixed problem, that email body was not provided to mail app in iOS part.

0.0.4 #

  • Fixed AndroidRuntimeException when calling startActivity (Issue #1).

0.0.3 #

  • Fixed grammar.

0.0.2 #

  • Fixed homepage link.

0.0.1 #

  • Works on Android and iOS. On Android Intent is launched, on iOS MFMailComposeViewController is used to compose an email.

example/README.md

flutter_email_sender_example #

Demonstrates how to use the flutter_email_sender plugin.

Getting Started #

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_email_sender: ^2.0.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_email_sender/flutter_email_sender.dart';
  
Version Uploaded Documentation Archive
2.0.0 Feb 25, 2019 Go to the documentation of flutter_email_sender 2.0.0 Download flutter_email_sender 2.0.0 archive
1.2.0 Jan 22, 2019 Go to the documentation of flutter_email_sender 1.2.0 Download flutter_email_sender 1.2.0 archive
1.1.0 Jan 9, 2019 Go to the documentation of flutter_email_sender 1.1.0 Download flutter_email_sender 1.1.0 archive
1.0.1 Oct 14, 2018 Go to the documentation of flutter_email_sender 1.0.1 Download flutter_email_sender 1.0.1 archive
1.0.0 Sep 29, 2018 Go to the documentation of flutter_email_sender 1.0.0 Download flutter_email_sender 1.0.0 archive
0.1.0 Sep 12, 2018 Go to the documentation of flutter_email_sender 0.1.0 Download flutter_email_sender 0.1.0 archive
0.0.4 Sep 9, 2018 Go to the documentation of flutter_email_sender 0.0.4 Download flutter_email_sender 0.0.4 archive
0.0.3 Aug 23, 2018 Go to the documentation of flutter_email_sender 0.0.3 Download flutter_email_sender 0.0.3 archive
0.0.2 Aug 23, 2018 Go to the documentation of flutter_email_sender 0.0.2 Download flutter_email_sender 0.0.2 archive
0.0.1 Aug 23, 2018 Go to the documentation of flutter_email_sender 0.0.1 Download flutter_email_sender 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
87
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
93
Learn more about scoring.

We analyzed this package on Mar 6, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14
  • Flutter: 1.3.3

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs. (-1 points)

13 out of 13 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.28.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8