Kevin Miller
Posts: 0
Joined: Tue Sep 24, 2013 11:16 pm

How can I send information in a database automatically to an email?

I have a form that saves all the fields into a database.
I am trying to find a way to send those fields to an email address (always the same address) automatically as well as the database. Is there a way I can automate this procedure by somehow accessing the database or should I have the fields sent to the email at the time the user submits the fields?

It's basically a student application that I need the student's info to go directly to my admissions department. Currently it just saves in the database and I don't know what to do with it next.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How can I send information in a database automatically to an email?

The best and the easiest way is "fields sent to the email at the time the user submits the fields". You can use Sendgrid to do that http://docs.appery.io/plugins/using-s...

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

How can I send information in a database automatically to an email?

Hello Again Maryna, I have kind the same problem now.
I have my account aproved with Sendgrid, and I used the plug in, and I was able to send mails to my email acount.
I have this form, that when user submits the fields, a REST services is invoked, and all the fields are saved, in my collection.
The problem is that the send_grid mail_send service TEXT FIELD, only acepts one data, I was trying in several ways to make it works, but fail.
Can you help me to find the way to send all fields as the message of the email?

Image Image Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How can I send information in a database automatically to an email?

Hi,

Array from database should be converted to string:
pre
var string= JSON.stringify(data);
/pre

Dave Troxel
Posts: 0
Joined: Fri May 09, 2014 1:07 pm

How can I send information in a database automatically to an email?

Sendgrid is asking me for my web address. I don't have a web address unless there is something pertaining to the plugin or db they require. Suggestions? Also, once I have a build email form.. how do I attach select columns and entire rows to it? The string:
var string= JSON.stringify(data);
have something to do with that? Where does it go? Very confused.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How can I send information in a database automatically to an email?

Hello Dave,

Could you please clarify what you are going to do and what is the issue you have

Bryan
Posts: 0
Joined: Thu Aug 28, 2014 12:49 pm

How can I send information in a database automatically to an email?

Hi,

I've searched through the forums to see if I could find and answer to my similar question. I have the SendGrid plugin and it's working but I would like to send multiple fields at once (name, phone, address, two additional fields, message)

I tried mapping everything in a way that made sense to me but I'm a relative newbie and kinda attempting something above my current abilities. any help would be greatly appreciated and lots of good thoughts of thanks will be sent.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How can I send information in a database automatically to an email?

Hi Bryan,

Currently it's not clear for us what you want to implement.

Please attach some screen shots and describe them in part what you want to get.

Regards.

Bryan
Posts: 0
Joined: Thu Aug 28, 2014 12:49 pm

How can I send information in a database automatically to an email?

I'm trying to make an app that allows the customer to input their information (name, email, address, phone, date, time)

Upon submit I want the customer to see that it was submitted, the data to save to the database and send the updated information via an email to the laundry pick up service as an alert that they have a pick up.

I think I have it storing information to the database correctly after that I'm confused. Image Image Image

Return to “Issues”