-
22 Dec 2010 7:29 AM #1
Simple Form Help -- send via email (stores info if no internet connection)
Simple Form Help -- send via email (stores info if no internet connection)
Hello,
Is there a way to use Sencha Touch for a form that gets filled out by a user and then the information from the form that was filled out gets emailed somewhere?
The thing is, a lot of the time, the iPad will not have internet connection -- so the email that contains the information will need to be stored somehow until connection is established. I would greatly appreciate some help on this and can explain further if needed.
I am trying to build an iPad app with Sencha touch and then will wrap with PhoneGap to make it a native app -- and I am no programmer, but I'm trying to make this work.
Any tutorials and/or sample code would be very, very helpful.
Thanks,
Tory
-
22 Dec 2010 9:51 PM #2
You can create a URL to open the mail client, but you'd be relying on the user to press send.
You should be able to use window.location=mailto;... to automatically open the mail clientCode:<a href="mailto:user@example.com?subject=sample mailto link&body=email text here">Mailto Link</a>
To send an email without user intervention you'll need something like the EmailComposer PhoneGap plugin https://github.com/purplecabbage/pho.../EmailComposer
There were some people talking about similar functionality on the PhoneGap google group. Search for "in app email"
Similar Threads
-
Charts rendered locally - installed flash and no internet connection
By ronivcp in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 10 Sep 2010, 1:15 AM -
send response to Connection request
By daneseale in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 7 Jul 2010, 7:59 AM -
Copy Email to Folder During Send
By Alan Smith in forum Ext.nd for Notes/DominoReplies: 0Last Post: 27 Oct 2009, 1:36 PM -
Simple form submission doesn't send data
By gwcoffey in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 11 Jul 2008, 9:20 AM -
Simple email form in messagebox...
By dbinaz in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 18 Dec 2007, 2:51 PM


Reply With Quote