For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 10 replies, 4 voices, and was last updated 13 years, 2 months ago by
shift.
-
AuthorPosts
-
PBXhowTosMemberDoes anyone have a working example of how I can email a bunch of widget results?
For instance, I have 5 text fields, a radio, and a check box. I want to, upon hitting a submit button, send the results to an email address in a simple table format?
Thanks in advance!
CJOctober 26, 2012 at 10:04 am #331720
PBXhowTosMemberAnyone?
October 26, 2012 at 1:10 pm #331737
support-michaelKeymaster>For instance, I have 5 text fields, a radio, and a check box. I want to, upon hitting a submit button, send the results to an email address in a simple table format?
You have 2 options:
1) open the device mail app and have it send the content
2) post the form to a webservice that repackages the form data and emails it to a final destinationFor #1 the issue we are working on internally is that when you open a mailto: url from either a native app or a webapp launched form the iOS homescreen the mail client launches. You have little control over the format, most likely will be After sending the msg the user must manually navigate back to the app/webapp.
Thoughts about how you want to proceed?
October 26, 2012 at 9:37 pm #331749
PBXhowTosMemberI would like to keep it in the app as much as possible.
Is there a way to have a widget connect to a SMTP server somehow?
October 29, 2012 at 7:06 pm #331802
support-michaelKeymaster>Is there a way to have a widget connect to a SMTP server somehow?
No, not at this time. We are working an improved experience when open the mail composer from with in an app. I would recommend that if you need the app to directly send email that you setup a simple emailing service to do this. There are tons of php snippets online that will show the way or you can use one of the zillion baas.
October 31, 2012 at 3:31 pm #331877
PBXhowTosMember@support-wayne wrote:
>Is there a way to have a widget connect to a SMTP server somehow?
No, not at this time. We are working an improved experience when open the mail composer from with in an app. I would recommend that if you need the app to directly send email that you setup a simple emailing service to do this. There are tons of php snippets online that will show the way or you can use one of the zillion baas.
So I guess I have a few questions, will PHP work with MobiOne? Can I send form items to the email app?
So, when I hit submit, I want to send the results to a table in the body of an email as well as update the subject.
Thanks in advance!
November 1, 2012 at 4:15 pm #331928
support-octavioMemberHi PBXhowTos,
>So I guess I have a few questions, will PHP work with MobiOne?
yes>Can I send form items to the email app?
By “email app” I am assuming you are referring to a server-side email service that will receive your email data, format it and then send it. Yes you can do this.> So, when I hit submit, I want to send the results to a table in the body of an email as well as update the subject.
When user hits submit, your mobione app will send the form that you have created to your emailing service (a simple web service). Your email service is responsible for creating the email content and then sending the email msg to whomever is the intended recipient(s).November 1, 2012 at 5:41 pm #331936
PBXhowTosMember@support-octavio wrote:
Hi PBXhowTos,
>So I guess I have a few questions, will PHP work with MobiOne?
yes>Can I send form items to the email app?
By “email app” I am assuming you are referring to a server-side email service that will receive your email data, format it and then send it. Yes you can do this.> So, when I hit submit, I want to send the results to a table in the body of an email as well as update the subject.
When user hits submit, your mobione app will send the form that you have created to your emailing service (a simple web service). Your email service is responsible for creating the email content and then sending the email msg to whomever is the intended recipient(s).November 1, 2012 at 5:45 pm #331937
PBXhowTosMember@support-octavio wrote:
Hi PBXhowTos,
>So I guess I have a few questions, will PHP work with MobiOne?
yes>Can I send form items to the email app?
By “email app” I am assuming you are referring to a server-side email service that will receive your email data, format it and then send it. Yes you can do this.> So, when I hit submit, I want to send the results to a table in the body of an email as well as update the subject.
When user hits submit, your mobione app will send the form that you have created to your emailing service (a simple web service). Your email service is responsible for creating the email content and then sending the email msg to whomever is the intended recipient(s).Ok, for some reason I cannot post PHP code in the forums. Please see if the PHP file I attached will work with the Mobi app. I have a web server with email service. Not sure what I would need to do to get it to pass the form info though.
Attachments:
You must be logged in to view attached files.November 26, 2012 at 6:26 pm #332726
support-octavioMemberYour code seems to be OK.
>Not sure what I would need to do to get it to pass the form info though.
Config your design as a form, set
Form Method POST
Form Action Type URL
Form Action URL URL of your php file on your server.Make sure that your textField Id properties are the same name as your php POST vars.
example:$_POST['name']Textfield Id should be name
January 22, 2013 at 10:55 pm #334508
shiftMemberAny update on this issue? I would really love to know how to send email with MobiOne. Right now, I can’t seem to do more than just GUI apps. I don’t know much about establishing connectivity with PHP etc. No tutorials on the main website either.
-
AuthorPosts
