In search of developing an application using Javascript and HTML5 to be compatible with mobile devices like iOS and Android. The key requirement is for the application to function solely on the client-side without any server interaction. It should be able to collect form data and create a CSV file locally. Once the CSV file is generated, it should prompt the local mail client to open and automatically attach the CSV file to a new message.
I have come across methods for CSV file generation, but they all seem to end with triggering the click
function of a dynamically created a
link, resulting in the CSV file being downloaded to the user's device. Is there a way to automate this process and directly initiate a new email message with the CSV file attached?