Source language: Translate to:

Send email with data

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

Send email with data

Postby datadon » Wed Dec 23, 2015 9:45 am

Since I do not see an email tools, I am guessing I would need to use js as a way to end an email.

This is just a test to see if I can do it. I want to use a paragraph tool to get the data and a variable to store my email address and then a button to send the paragraph to the email address stored in the variable.

Anyone have an example of how to do that?

Thanks
Don
Don

'If you want to get a brontosaurus from 'a' to 'b' then you ride the dinosaur - you don't carry it!'
User avatar
datadon
 
Posts: 389
Joined: Sun Apr 03, 2005 7:55 pm
Location: Lorena Texas

Re: Send email with data

Postby Neosoft Support » Wed Dec 23, 2015 8:26 pm

I don't know if you can send email with JavaScript alone. There is a PhoneGap plug-in that might work, but we'll need to make a provision in NAB to use it without hacking your compiled apk file.

The plug-in: https://github.com/katzer/cordova-plugin-email-composer
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: Send email with data

Postby Gaev » Thu Dec 24, 2015 8:38 am

Don:

To add to the technical implementation described by Dave, you have other considerations.

No matter how you implement it, in order for an email to be sent, you need it to connect with a Mail Server ... either yours or the users.

Easier to implement solution with your Mail Server ... but dangerous ... as all messages sent from the App (Web App or Native App) will be charged against you ... and you are responsible for all types of SPAM etc. sent through it.

I am not too familiar with the other option, but I reckon that users would be asked for permission for your App to use their email ... and many users (like me for example) would not want to give any App such blanket authorization ... in case the App was from someone who wanted to send other unauthorized messages using the user's email credentials.

Hope this doesn't spoil your christmassy mood.
User avatar
Gaev
 
Posts: 3718
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada


Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: No registered users and 0 guests