flutter_mailer 0.3.1

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

flutter_mailer

pub package

Share email content via device Email Client - supports multiple Attachments

Simple & quick plugin for cross application data sharing of email fields in mobile development.

Flutter Mailer example app

Supports:

  • [x] android
  • [x] ios - work in progress.

Getting Started

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: ['example@example.com'],
      isHTML: true,
      bccRecipients: ['other@example.com'],
      ccRecipients: ['third@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

0.3.1

  • ios warning fixes
  • fix crash when attachment has unknow mimeType
  • display full file name with extention.

0.3.0

  • android - change to use "just once/always" menu instead of choser. this is a super small change but changes the flow, hence it's not a patch.

0.2.0

  • add appSchema prop to MailOptions for by passing choser and picking specific app. android only
  • add comments
  • android null checks

0.1.2

  • minor change in android
  • expand example with temp file upload

0.1.1

  • update android dependencies

0.1.0

  • remove the need to edit androidManifest.xml for file sharing

0.0.4

  • change attachment type from List<File> to List<String>.

0.0.3

  • fix homepage spelling mistake in pubspec

0.0.2

  • add initial ios support still work in progress, i'm not a ios devepoler, its the first time i wrote objective C code

0.0.1

  • TODO: Describe initial release.

example/README.md

flutter_mailer_example

Demonstrates how to use the flutter_mailer 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_mailer: ^0.3.1

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_mailer/flutter_mailer.dart';
  
Version Uploaded Documentation Archive
0.3.1 Nov 25, 2018 Go to the documentation of flutter_mailer 0.3.1 Download flutter_mailer 0.3.1 archive
0.3.0 Nov 22, 2018 Go to the documentation of flutter_mailer 0.3.0 Download flutter_mailer 0.3.0 archive
0.2.0 Nov 19, 2018 Go to the documentation of flutter_mailer 0.2.0 Download flutter_mailer 0.2.0 archive
0.1.2 Nov 15, 2018 Go to the documentation of flutter_mailer 0.1.2 Download flutter_mailer 0.1.2 archive
0.1.1 Sep 7, 2018 Go to the documentation of flutter_mailer 0.1.1 Download flutter_mailer 0.1.1 archive
0.1.0 Aug 18, 2018 Go to the documentation of flutter_mailer 0.1.0 Download flutter_mailer 0.1.0 archive
0.0.4 Jul 16, 2018 Go to the documentation of flutter_mailer 0.0.4 Download flutter_mailer 0.0.4 archive
0.0.3 Jul 15, 2018 Go to the documentation of flutter_mailer 0.0.3 Download flutter_mailer 0.0.3 archive
0.0.2 Jul 15, 2018 Go to the documentation of flutter_mailer 0.0.2 Download flutter_mailer 0.0.2 archive
0.0.1 Jul 15, 2018 Go to the documentation of flutter_mailer 0.0.1 Download flutter_mailer 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
72
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
86
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7
  • Flutter: 1.0.0

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

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
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8