Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #16321
| Date | 2012-10-02 12:59 -0700 |
|---|---|
| From | Patricia Shanahan <pats@acm.org> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Sending email with attachments |
| References | <JqadnXQNAdXTHffNnZ2dnUVZ_qSdnZ2d@earthlink.com> <7e4556cd-39e7-4f84-af51-93d4b1ed12a4@w3g2000yqe.googlegroups.com> <ybudnXCVpanfaffNnZ2dnUVZ_jednZ2d@earthlink.com> <506b4079$0$6890$e4fe514c@news2.news.xs4all.nl> |
| Message-ID | <e5SdnWnmWLQl2vbNnZ2dnUVZ_rGdnZ2d@earthlink.com> (permalink) |
On 10/2/2012 12:28 PM, Tom de Neef wrote: > "Patricia Shanahan" <pats@acm.org> wrote: >>>> I am writing a data collection application. It needs to run on as many >>>> tablets and laptops as possible, so I'm writing it in HTML and >>>> JavaScript. Although I cannot ask end users to buy a particular device, >>>> I can ask them to install an up to date browser. >>>> >>>> The ideal, from my end users' point of view, would be a button they >>>> could click that would send an e-mail to an address they enter with the >>>> data attached in .csv format. [ ... ] >>> >> If there were a non-browser programming language and run time >> environment that ran on all target devices, including iPad, I would be >> writing an application in that language. The only reason for configuring >> the application as a web site is the number of possible collection >> devices that have browsers with JavaScript. >> >> I would like to get the data as directly as possible from the data >> collection device to that workstation. The end users are expert >> spreadsheet users, so they know what to do with a .csv attachment, but >> are not web developers and do not necessarily control a web server. My >> lead user suggested e-mail as his ideal data delivery method. > > Forgive if I got it wrong: data is collected on devices with internet access > and browser support. > This data is in the form of tables or files and needs to be sent to someone > with an email account, where the account depends on the device/data under > consideration. You would like to get it there 'as direct as possible'. Typically, the data will be in the browser's local storage, where I can put it from client-side JavaScript. However, the main point is that the data will be somewhere accessible to my client side code. > > Suppose you had a web server. The person operating the collection device > surfs to its URL. He gets a webpage with two selection 'fields': one to > indicate where the data is (when it is a file) or to copy it into a text > field (when it is a table). The other to select the email address of the > target person. Any pre-processing (like getting the data in the right > format) could be done by script on the page. > 'Submit' could then result in an (encrypted) upload to the server, where the > data is attached to an email which the server sends to the target. > Would that meet your requirements? It would be easy to implement. How safe would that be from spammers wanting to turn my web site into a forwarding engine? Patricia
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-01 22:49 -0700
Re: Sending email with attachments Scott Sauyet <scott.sauyet@gmail.com> - 2012-10-02 04:20 -0700
Re: Sending email with attachments Scott Sauyet <scott.sauyet@gmail.com> - 2012-10-02 05:16 -0700
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-02 07:10 -0700
Re: Sending email with attachments Scott Sauyet <scott.sauyet@gmail.com> - 2012-10-02 10:57 -0700
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-02 07:03 -0700
Re: Sending email with attachments Scott Sauyet <scott.sauyet@gmail.com> - 2012-10-02 10:50 -0700
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-02 11:16 -0700
Re: Sending email with attachments dann90038@gmail.com - 2012-10-02 12:15 -0700
Re: Sending email with attachments "Tom de Neef" <tdeneef@qolor.nl> - 2012-10-02 21:28 +0200
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-02 12:59 -0700
Re: Sending email with attachments Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-02 22:26 +0200
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-03 20:04 +0100
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-06 02:07 +0100
Re: Sending email with attachments Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-06 08:48 +0200
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-06 20:29 +0100
Re: Sending email with attachments Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-06 21:49 +0200
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-07 08:13 +0100
Re: Sending email with attachments Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-07 14:28 +0200
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-08 00:43 +0100
Re: Sending email with attachments Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-08 03:26 +0200
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-08 07:18 +0100
Re: Sending email with attachments Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-08 11:13 +0200
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-08 18:57 +0100
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-08 09:46 +0100
Re: Sending email with attachments Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-10-08 12:01 +0200
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-08 19:16 +0100
Re: Sending email with attachments Gene Wirchenko <genew@ocis.net> - 2012-10-08 09:28 -0700
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-08 18:34 +0100
Re: Sending email with attachments Stefan Weiss <krewecherl@gmail.com> - 2012-10-07 12:46 +0200
Re: Sending email with attachments Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-07 18:55 +0200
Re: Sending email with attachments Stefan Weiss <krewecherl@gmail.com> - 2012-10-07 20:06 +0200
Re: Sending email with attachments Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-07 22:12 +0200
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-07 19:54 +0100
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-08 01:09 +0100
Re: Sending email with attachments Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-10-08 13:10 +0200
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-08 19:20 +0100
OT: Mac vs PC for development (Was: Sending email with attachments) Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-10-08 08:38 -0700
Re: Sending email with attachments Dr J R Stockton <reply1240@merlyn.demon.co.uk.invalid> - 2012-10-03 19:49 +0100
Re: Sending email with attachments Eli the Bearded <*@eli.users.panix.com> - 2012-10-03 23:08 +0000
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-04 02:46 +0100
Re: Sending email with attachments Scott Sauyet <scott.sauyet@gmail.com> - 2012-10-03 19:42 -0700
Re: Sending email with attachments Patricia Shanahan <pats@acm.org> - 2012-10-04 02:43 +0100
Re: Sending email with attachments Scott Sauyet <scott.sauyet@gmail.com> - 2012-10-03 19:54 -0700
csiph-web