Jgc
Posts: 0
Joined: Wed Mar 07, 2012 8:58 pm

Upload images to email address?

I am wondering how to have the user choose photos that already reside in their device to an email address.

So basically, the user will choose an image from their device that already exists, then click a button that will send it to an email address that I program into the app. I am trying to simulate a file upload basically......Any ideas?

Jgc
Posts: 0
Joined: Wed Mar 07, 2012 8:58 pm

Upload images to email address?

Just wanted to add that instead of the file going to a server, it will go to my email address that I program into the app. Hope that helps!

Jgc
Posts: 0
Joined: Wed Mar 07, 2012 8:58 pm

Upload images to email address?

Meant to say MY not ME - its late here.... _

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Upload images to email address?

jQuery Mobile doesn't provide a file upload component but you can try using just the basic HTML:

code
<input type="file"&#46;&#46;&#46;&#47;>
/code

But, you can't just upload the image into the browser, it has to be sent to some service - in other words, you have to upload it somewhere.

As for email, it's not possible to send an email from JavaScript so you can use a service is such as SendGrid, for sending emails - http://sendgrid.com.

Jgc
Posts: 0
Joined: Wed Mar 07, 2012 8:58 pm

Upload images to email address?

Hmmm.....Okay, Im going to investigate this issue further see what my options are.... Thanks for the reply, Max!

Return to “Issues”