22 Dec 2010 7:29 AM #1
Simple Form Help -- send via email (stores info if no internet connection)
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.
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.
<a href="mailto:firstname.lastname@example.org?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"
By ronivcp in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 10 Sep 2010, 1:15 AM
By daneseale in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 7 Jul 2010, 7:59 AM
By Alan Smith in forum Ext.nd for Notes/DominoReplies: 0Last Post: 27 Oct 2009, 1:36 PM
By gwcoffey in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 11 Jul 2008, 9:20 AM
By dbinaz in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 18 Dec 2007, 2:51 PM