Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sidlatau/flutter_email_sender
Allows send emails from flutter using native platform functionality.
https://github.com/sidlatau/flutter_email_sender
Last synced: 7 days ago
JSON representation
Allows send emails from flutter using native platform functionality.
- Host: GitHub
- URL: https://github.com/sidlatau/flutter_email_sender
- Owner: sidlatau
- License: apache-2.0
- Created: 2018-08-23T05:14:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-29T10:48:57.000Z (2 months ago)
- Last Synced: 2024-10-12T23:10:57.052Z (27 days ago)
- Language: Kotlin
- Size: 118 KB
- Stars: 151
- Watchers: 7
- Forks: 84
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# flutter_email_sender
Allows send emails from flutter using native platform functionality.
In android it opens default mail app via intent.
In iOS `MFMailComposeViewController` is used to compose an email.
# Example
```dart
final Email email = Email(
body: 'Email body',
subject: 'Email subject',
recipients: ['[email protected]'],
cc: ['[email protected]'],
bcc: ['[email protected]'],
attachmentPaths: ['/path/to/attachment.zip'],
isHTML: false,
);await FlutterEmailSender.send(email);
```
## Android Setup
With Android 11, package visibility is introduced that alters the ability to query installed applications and packages on a user’s device. To enable your application to get visibility into the packages you will need to add a list of queries into your AndroidManifest.xml.
```
```
## Getting Started
For help getting started with Flutter, view our online
[documentation](https://flutter.io/).For help on editing plugin code, view the [documentation](https://flutter.io/developing-packages/#edit-plugin-package).