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

Open() is not working for windows 10 cordova app #294

Closed
gharini11 opened this issue Mar 8, 2018 · 4 comments
Closed

Open() is not working for windows 10 cordova app #294

gharini11 opened this issue Mar 8, 2018 · 4 comments

Comments

@gharini11
Copy link

gharini11 commented Mar 8, 2018

Hi,
I have a universal cordova app for iOS and Windows 10 UWP.
I have the following code when email button is clicked -

        $cordovaEmailComposer.isAvailable().then(function () {
            var email = {
                to: '',
                cc: '',
                bcc: [],
                attachments: emailImageArray,
                subject: subject,
                body: emailBody,
                isHtml: true
            };

            $cordovaEmailComposer.open(email).then(null, function () {
                console.log("Email ready cancel", emailBody);
            });
        }, function () {
            console.log("Email not ready");
        });
    }

It works fine for iOS but for Windows it does not open the draft or throw any error.
plugin version for Windows app - 0.8.7
cordova-windows - 4.3.0
cordova - 6.0.0

Please let me know how to fix this one.

Thanks!

@gharini11
Copy link
Author

gharini11 commented Mar 13, 2018

@katzer does it work for UWP Windows 10 apps?

@QuickCRM
Copy link

Hi,
On UWP Windows 10 apps, the mail opens, but attachment(s) are not included.
Our attachments are in ms-appdata:///temp/temp.

@jfoclpf
Copy link
Collaborator

jfoclpf commented Nov 21, 2021

@QuickCRM did you eventually solve this problem?

@jfoclpf
Copy link
Collaborator

jfoclpf commented Nov 29, 2021

duplicate of #252

@jfoclpf jfoclpf closed this as completed Nov 29, 2021
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

3 participants