sidlatau / flutter_email_sender

Allows send emails from flutter using native platform functionality.
Apache License 2.0
146 stars 81 forks source link

Attachments not longer working #80

Closed Mmisiek closed 1 year ago

Mmisiek commented 2 years ago

I have code:

        final Email email = Email(
          body: body,
          subject: subject,
          recipients: [scoutReport.sendTo],
          isHTML: true,
          bcc: [],
          cc: [],
          attachmentPaths: [
            pdfFile.path,
          ],
        );
        FlutterEmailSender.send(email).then((value) => {});

Which after opening gmail will show short message "Count not add attachment' and create email without one.

fatihmerickoc commented 2 years ago

Hello Did you found the solution I have the same issue!

sidlatau commented 1 year ago

It should work in the latest plugin version.