Software Archive
Read-only legacy content

FORM EMAIL (PEDIDO ON-LINE)

Jorge_F_1
Beginner
401 Views

Personal: I found an interesting solution for email from an app. However, you must configure the SMTP server, port 25 and the user account. The solution was found at https: //www.jotform.com/create-form ... has a setting to receive notifications, then I added my email and it worked.

BUT MY QUESTION HOME:

1-IS HOW WE MAKE A SOLUTION SO IN INTEL XDK? THAT IS, FROM A FORM - A USER ANY DATA TYPE THAT MAY BE SUGGESTIONS, COMPLAINTS, satisfactions, ORDERS, ETC. (BE ORDERING ON-LINE OR OTHER PIZZA DELIVERY SERVICE) AND THEN, AS AN E-MAIL Preconfigured, RECEIVED THE FORM DATA.
 
2-TEM HOW TO PEOPLE THAT BY INTEL XDK?

3-IN INTEL XDK, HOW HAS SET UP A SERVER EMAIL (SMTP)?

4-CHECK THE LINK https://www.jotform.com/create-form AND SEE IF IT IS POSSIBLE IN INTEL XDK?

THANK YOU AND EXCUSES FOR QUESTIONS AND / OR QUESTIONS REPETITIVE, EXCUSE ME.
 

0 Kudos
2 Replies
Jorge_F_1
Beginner
401 Views

ANEXO

0 Kudos
Diego_Calp
Valued Contributor I
401 Views

Hi Jorge,

The short answer is you can't, or better, you shouldn't.

Place smtp server settings in your XDK app will be very insecure.

What's the problem with your previous idea, pass the email content to php and send the email from there? It is very easy to do this.

I found these explanations to send email from Javascript, but I think is better and easy to use php.

https://www.sitepoint.com/sending-emails-gmail-javascript-api/

https://medium.com/@mariusc23/send-an-email-using-only-javascript-b53319616782#.1ip5d1ybr

Regards

Diego.

0 Kudos
Reply