Open Default Email and add attachment from io.stream
Hi,
What I would like to do is allow the user to click a button which will open their default email program (e.g. outlook, windows live mail, etc) and create a new email with an attachment (from io.stream) ready for them.
Here's hoping someone here has done this and could help me.
Thanks in advance.
Re: Open Default Email and add attachment from io.stream
That's not really possible I'm afraid. In theory the "mailto" protocol supports attachments but I'm not aware of a mail client that supports it. I know Outlook certainly does it. That would be the only way to generalise the process to any mail client. The only other alternative would be to write code to handle each individual mail client, which isn't really practical and, in some cases, may not even be possible.
Re: Open Default Email and add attachment from io.stream
Oh that's a bit unfortunate. Oh well, I guess it's best I get them to manually do this.
Thanks for the help.