flutter_email_sender
11.2.0, released 6 weeks ago by an unverified publisher
Allows sending emails from Flutter using native platform functionality.
What it does
Allows sending emails from Flutter using native platform functionality across Android, iOS, macOS, Windows, Linux, and web. Exposes platform capabilities to check what features like attachments, HTML bodies, cc, and bcc are supported before sending.
AI-written summary of version 11.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to trigger the native email composer from your Flutter app.
- You need to attach files or in-memory data to outgoing emails.
- You need to check platform capabilities and feature support before sending emails.
Skip it when
- You need to send emails directly from the app backend without opening a native email client.
- The target platform lacks a mail client or native composer support for advanced features like HTML and attachments.
Strengths
- Supports multiple platforms including Android, iOS, macOS, Windows, Linux, and Web.
- Exposes platform capabilities so apps can adapt their UI before sending.
- Supports both file-path attachments and in-memory data attachments.
Weaknesses
- Fallback mailto: links on some platforms and clients do not support HTML bodies or attachments.
- Outcome reporting of the email send action varies by platform (e.g. unknown on non-iOS platforms).
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 5
No setup required on most platforms; optional LSApplicationQueriesSchemes for mailto on iOS.
final Email email = Email(
body: 'Email body',
subject: 'Email subject',
recipients: ['example@example.com'],
);
await FlutterEmailSender.send(email);Alternatives
Packages that do the same job and could replace flutter_email_sender.
- flutter_sms
A Flutter plugin to send SMS and MMS on iOS and Android.
77Compare - flutter_mailer
Share email content via device email client with support for multiple attachments.
71Compare - flutter_usb_printer
Send data and work with USB printers on Android.
69Compare - mailto
Create mailto URIs with support for multiple to, cc, bcc, subject, and body fields with encoding.
50Compare