flutter_email_sender_linux 1.0.0
flutter_email_sender_linux: ^1.0.0 copied to clipboard
Linux platform implementation of flutter_email_sender.
flutter_email_sender_linux #
Linux implementation of flutter_email_sender.
Most applications should depend on package:flutter_email_sender/flutter_email_sender.dart instead of using this package directly.
Behavior #
- Opens the default mail client with
xdg-emailfromxdg-utils. Thunderbird installed from the distribution's packages gets the email on its command line; other mail clients get amailto:link withattachparameters. - Attachments reach Thunderbird from distribution packages, Evolution and KMail. Thunderbird as a Snap or Flatpak, Claws Mail and webmail drop them without an error.
sendcompletes oncexdg-emailexits, or after two seconds while it is still running: when the mail client is not running yet,xdg-emailusually waits until the user quits it.- In-memory attachments are written to a new folder in the temporary directory and left there, because Thunderbird reads attachments only when the email is sent.
- Without
xdg-email, opens amailto:link throughurl_launcher, so attachments are unsupported. - HTML bodies are unsupported.
Endorsement #
flutter_email_sender routes Linux builds to this package automatically, so applications usually do not need a direct dependency on it.