flutter_email_sender 11.2.0
flutter_email_sender: ^11.2.0 copied to clipboard
Allows send emails from flutter using native platform functionality.
11.2.0 #
- Add Windows support: the default mail client's composer opens through Simple MAPI, which classic Outlook and Thunderbird support, or through a
mailto:link for other mail clients such as the new Outlook (#88). Not yet tested with a real mail client; please report problems in #88. - Android: attachments no longer go missing when Android clears the app's cache before the mail app uploads the email, which Gmail reported as "Couldn't send attachment" (#84). The plugin keeps its copies for three days.
- Requires
flutter_email_sender_method_channel2.0.1 andflutter_email_sender_windows1.0.0.
11.1.0 #
- Add Linux support:
xdg-emailopens the default mail client, or amailto:link whenxdg-emailis not installed. The README lists which mail clients receive attachments (#64). - Requires
flutter_email_sender_linux1.0.0.
11.0.0 #
- BREAKING: iOS, macOS: when the native composer is unavailable, for example on an iPhone without an Apple Mail account,
sendopens amailto:link in the default mail app instead of throwingFlutterEmailSenderNotAvailableException. In that modegetCapabilitiesreports attachments and HTML bodies as unsupported, so such emails throwFlutterEmailSenderUnsupportedFeatureException(#26, #47, #54, #76). - BREAKING: iOS:
sendcompletes when the composer closes instead of when it opens (#77). - BREAKING: an attachment file that cannot be read makes
sendthrowFlutterEmailSenderPlatformExceptionon all platforms. It used to be left out on iOS and macOS, and to reach the mail app as an unreadable file on Android. - BREAKING: Android: the plugin no longer brings in
androidx.appcompat; apps that used it only through this plugin must add it themselves. - BREAKING:
FlutterEmailSender.sendcallsFlutterEmailSenderPlatform.sendWithResult; test doubles of the platform that stub onlysendmust also stubsendWithResult. sendreturns anEmailSendResult: on iOS whether the email was sent, saved or discarded, on other platformsEmailSendResult.unknown(#72).- Add
Email.attachmentswithEmailAttachment.fileandEmailAttachment.data, so in-memory data can be attached without writing a file first (#119). - Android: a single attachment now reaches Thunderbird-based email apps (#131).
- Android: the chooser lists only email apps for any number of attachments (#95), and the email app opens directly when only one is installed.
- Android: any file the app can read can be attached, including files from
getApplicationDocumentsDirectory()(#48). Attachments are copied into the app's cache and shared from a singleFileProviderfolder (#100). - Android: no
AndroidManifest.xmlchanges are needed anymore.minSdkis now 24, Flutter's minimum. - iOS: attachments get the MIME type of their file extension instead of
application/octet-stream. - iOS: the composer opens when another screen is already presented (#117, #71).
- Example: shows the send result and can attach generated text; Android toolchain updated to the Flutter 3.47 templates.
- Requires
flutter_email_sender_method_channel2.0.0,flutter_email_sender_platform_interface1.1.0 andflutter_email_sender_web1.0.1.
10.0.1 #
- Improve API documentation coverage for pub points.
- Move the example app into
packages/flutter_email_sender/exampleso pub.dev recognizes it.
10.0.0 #
- BREAKING: updates minimum supported versions to Flutter 3.44 / Dart 3.12.
- Android: migrates the plugin to Flutter's built-in Kotlin support for plugin authors.
- Adds a federated platform interface and a web implementation using
mailto:. - Adds
FlutterEmailSender.getCapabilities(). - BREAKING: when migrating from 9.x, unsupported fields now throw
FlutterEmailSenderUnsupportedFeatureExceptioninstead of being silently ignored on partial-support platforms such as macOS and web. - BREAKING: when migrating from 9.x, runtime unavailability now throws
FlutterEmailSenderNotAvailableExceptioninstead of requiring callers to inspectPlatformException.code. - Adds
EmailCapabilities.canSendfor runtime availability checks.
9.0.0 #
- Add macos support with Swift Package Manager.
8.0.0 #
- Updated kotlin version to 2.2
- Updated gradle version to 8.13.0
- Updated android compile SDK to 36
- Updated example app dependencies
7.0.0 #
- Add Swift Package Manager support.
- Remove Objective-C files.
6.0.3 #
- Added iOS privacy manifest
6.0.2 #
- Add Java 1.8 compile options and Kotlin JVM target in build.gradle (#99)
6.0.1 #
- Use SEND_TO action for Android (fixes #91)
6.0.0 #
- Updated android dependencies, using gradle 8.0
5.2.0 #
- Updated android references: updated compile and target SDK to 33
- Fixed attachment adding problem in Android 13 (#87)
- Support Objective-C project with Podfile no use_frameworks - thanks @fachrifaul
5.1.0 #
- Updated android references: replaced references for jcenter, updated compile and target SDK to 31 (#82)
- Fixed issue for attaching file from application documents directory (#21, #35, #66)
- Updated example app (#52)
5.0.2 #
- Fixed problem when future never completes (#73) - thanks @zuzi-m
5.0.1 #
- Fixed Android v2 embedding problem - thanks @sergey-triputsco
5.0.0 #
- Migrated to null-safety.
4.0.0 #
- Android: show only email apps in the chooser - thanks to @ttencate
3.0.1 #
- Improved documentation.
3.0.0 #
- Added ability to attach multiple files - thanks to @michalsuryntequiqo
- BREAKING CHANGE:
attachmentPathparameter becomesattachmentPaths
2.2.2 #
- Updated Android dependencies.
2.2.1 #
- Fixed problem with setting BCC in iOS. (Issue #29)
2.2.0 #
- Improved email client app selection in Android.
2.1.0 #
- Added HTML support - thanks to @trancanhluc.
2.0.3 #
- Finished migration to Android X.
2.0.2 #
- Configured external files path for FileProvider (Issue #10).
2.0.1 #
- Finish future when email screen is closed. (Issue #15).
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.