1. #1
    Ext User
    Join Date
    Dec 2010
    Vote Rating
    Tory is on a distinguished road


    Default 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.


  2. #2
    Touch Premium Member
    Join Date
    Oct 2010
    Vote Rating
    doncoleman is on a distinguished road



    You can create a URL to open the mail client, but you'd be relying on the user to press send.
    <a href="mailto:user@example.com?subject=sample mailto link&body=email text here">Mailto Link</a>
    You should be able to use window.location=mailto;... to automatically open the mail client

    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

  1. Charts rendered locally - installed flash and no internet connection
    By ronivcp in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 10 Sep 2010, 1:15 AM
  2. send response to Connection request
    By daneseale in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 7 Jul 2010, 7:59 AM
  3. Copy Email to Folder During Send
    By Alan Smith in forum Ext.nd for Notes/Domino
    Replies: 0
    Last Post: 27 Oct 2009, 1:36 PM
  4. Simple form submission doesn't send data
    By gwcoffey in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 11 Jul 2008, 9:20 AM
  5. Simple email form in messagebox...
    By dbinaz in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 18 Dec 2007, 2:51 PM

Thread Participants: 1

Tags for this Thread