Skip to content
Allows send emails from flutter using native platform functionality.
Kotlin Dart Swift Ruby Objective-C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android
example
ios
lib * add support email html option (#28) Oct 19, 2019
.gitignore
CHANGELOG.md v2.2.2 Dec 20, 2019
LICENSE
README.md v2.1.0 Oct 19, 2019
pubspec.yaml

README.md

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',
  isHTML: false,
);

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.

You can’t perform that action at this time.