Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How i can get the status of email is Sent or Cancel? #72

Open
swapnilsinha17 opened this issue Jun 25, 2021 · 6 comments
Open

How i can get the status of email is Sent or Cancel? #72

swapnilsinha17 opened this issue Jun 25, 2021 · 6 comments

Comments

@swapnilsinha17
Copy link

When i sent multiple emails with code one after another.How i can get the status of is sent or cancel by user.

Please Let me know @sidlatau

@LeapingSwan
Copy link

@expertdev-designer I am looking for this feature as well. Did you find a way to do it or work around?

Thanks

Stephen

@erunLLC
Copy link

erunLLC commented Oct 24, 2022

I'm trying to send emails to multiple users using the cc field. It works fine if I only include one email address, however, if more than one is included, nothing populates the Cc: email field. I have tried putting commas between the email addresses and spaces, neither of which works. Is there something else I should use between the email addresses?

@dustinchu
Copy link

I am looking for this feature as well. Did you find a way to do it or work around?

@prkay
Copy link

prkay commented Dec 26, 2023

@dustinchu @LeapingSwan @expertdev-designer

I've been working on improving the iOS functionality by submitting a pull request that retrieves information about whether the user sent, canceled, or saved an email. However, regarding Android, I haven't discovered a similar solution yet.

If it might be beneficial, I've integrated the flutter_email_sender package into our project using the commit c2ae6e5. This version could assist in the development process, but as of now, it doesn't address the specific Android functionality we're seeking.

I'm continuing to explore potential solutions for Android within the context of the flutter_email_sender package to achieve similar functionality as implemented for iOS.

@Aruljebaraj
Copy link

any update on this

@prkay
Copy link

prkay commented Aug 29, 2024

any update on this

@Aruljebaraj you can use this PR #104 instead of current version. PR is raised long time ago. But it didn't merged till now. Here you can get status.
you can add this to pubspec yaml flutter_email_sender:
git:
url: https://github.com/sidlatau/flutter_email_sender.git
ref: 24d942f
For status use like this

    final Email email = Email(
      recipients: [
        'example@example.com',
      ],
      body: ,
      subject: ,
      attachmentPaths: [any],
      isHTML: true,
    );

    try {
      await FlutterEmailSender.send(email).then((final value) {

        if (value == MailerResponse.sent) {
     
        }
      });
    } on PlatformException catch (_) {
      // Address warning: Do not use BuildContexts across async gaps
      if (!context.mounted) {
        return;
      }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants