I have a problem when send email in flutter(IOS). I use flutter_email_sender lib.

Future<void> send() async {
    final Email email = Email(
      body: _bodyController.text,
      subject: _subjectController.text,
      recipients: [_recipientController.text],
      attachmentPath: attachment,
      isHTML: isHTML,
    );
    await FlutterEmailSender.send(email);
  }

button... onPressed: send()
==> Unhandled Exception: PlatformException(not_available, No email clients found!, null)


Solution 1: Trần Đức Tâm

I had the same issue on iOS. It was caused because iOS hadn't set up the default Mail Application. Did you setting it on Setting app?


Solution 2: joantoh

https://pub.dev/packages/mailer I'm using this for both Android/iOS. No issue on either of them. It's a well maintained package.