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

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

Bryan,

Ok if you stored in DB now you want only send it to email.

In this case please follow these steps:

1 Open your sendgrid service mapping.

2 Find "text" request parameter and click "Add JS/Edit JS" button. http://prntscr.com/4jhsuq/direct

3 JS editor will appear. Populate it with following code:

pre

var text = "";
text += "Date = " + Apperyio("dateInputComponent").val() + "
";
text += "Time= " + Apperyio("timeInputComponent").val() + "
";

//Here you need to fill all fields you want send to email.

text += "Phone= " + Apperyio("phoneInputComponent").val() + "
";

return text;

/pre

In this code you need to set correct input component names.. Also you can create your own view for this email.

Regards.

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

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

Excellent, I'll be attempting this by tomorrow morning and posting my results here. I am very happy with the quick responses and helpful information.

Return to “Issues”