Page 1 of 2

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

Posted: Wed Oct 16, 2013 6:05 pm
by Kevin Miller

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.


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

Posted: Wed Oct 16, 2013 7:23 pm
by Maryna Brodina

Hello! Working on it...


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

Posted: Wed Oct 16, 2013 7:59 pm
by Maryna Brodina

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


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

Posted: Sun Nov 24, 2013 8:31 am
by Alex GG

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


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

Posted: Sun Nov 24, 2013 9:45 am
by Alena Prykhodko

Hi,

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


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

Posted: Mon May 19, 2014 1:58 pm
by Dave Troxel

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.


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

Posted: Tue May 20, 2014 8:05 am
by Evgene Karachevtsev

Hello Dave,

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


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

Posted: Wed Sep 03, 2014 11:22 pm
by Bryan

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.


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

Posted: Thu Sep 04, 2014 1:20 am
by Yurii Orishchuk

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.


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

Posted: Thu Sep 04, 2014 3:36 am
by Bryan

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