flutter_email_sender 1.1.0

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

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.

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: ^1.1.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
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]
84
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]
92
Learn more about scoring.

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

  • Dart: 2.1.0
  • pana: 0.12.10
  • Flutter: 1.1.7

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 (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.

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