I'm using WebWorks and having a bunch of logfile that user should be able to send to support dudes. I'm using HTML5 Filesystem API to store logfiles in the sandbox. The problem is: when I'm trying to attach logfile to the email the mail receiver cannot find attachment. Here's the code:
var filepath = Logger.fileEntry.toURL();
//file path is something like "filesystem:local:///temporary/logs/Error.log"
blackberry.invoke.card.invokeEmailComposer({
subject: "Email subject",
body: "Email body",
to: ["my@email.com"],
attachment: [filepath]
});
Does email card invocation is able to attach files from HTML5 sandbox?
I'm using WebWorks and having a bunch of logfile that user should be able to send to support dudes. I'm using HTML5 Filesystem API to store logfiles in the sandbox. The problem is: when I'm trying to attach logfile to the email the mail receiver cannot find attachment. Here's the code:
var filepath = Logger.fileEntry.toURL(); //file path is something like "filesystem:local:///temporary/logs/Error.log" blackberry.invoke.card.invokeEmailComposer({ subject: "Email subject", body: "Email body", to: ["my@email.com"], attachment: [filepath] });
Does email card invocation is able to attach files from HTML5 sandbox?