Skip to content

Attachments doesn't seem to be working. #16

Description

@bkeelon

I'm calling this within the open_mail package: await OpenMail.composeNewEmailInSpecificMailApp(mailApp: chosen, emailContent: emailContent); where chosen is gmail and the emailContent contains:

EmailContent properties:

I/flutter (15722):   - subject: Issue Report
I/flutter (15722):   - to: [techsupport@company.com]
I/flutter (15722):   - cc: null
I/flutter (15722):   - bcc: null
I/flutter (15722):   - attachments: [file:///data/user/0/com.company.app/cache/shared/feedback_logs_1759418017515.txt]
I/flutter (15722):   - attachments count: 1
I/flutter (15722):   - body length: 315 characters
I/flutter (15722):   - body preview: Please describe the bug or new feature below:

The text file is located in /data/user/0/com.company.app/cache/shared/feedback_logs_1759418017515.txt

I've tried this for both android (gmail) and ios (apple mail) and I couldn't get attachments to display. We were using flutter_email_sender before which worked fine with attachments but we want our users to have the opportunity to pick which email app they want to use. Do attachments work or am I completely off?

I'm using flutter version: 3.32.8.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions