Book a Table via E-Mail Ionic 2/3

Book a Table via E-Mail Ionic 2/3

Book a Table via Email

$8.00

Patrick Hofer

Patrick Hofer

Member since 2016

Details

Version:
1.0
Ionic:
3.x  
Platforms:
iOS, Android  
Released:
4 years ago
Updated:
4 years ago
Category:
Plugins
Tags:
,

Mailgun Book a Table

Change the following things:

Change the URL and API keys to yours.

this.mailgunUrl = "sandboxdaa8hjdhgjdjd1e34c2.mailgun.org"; this.mailgunApiKey = window.btoa("api:key-4052dhjkd4132415261490f861d");

Change THE_EMAIL to the email you want to send the email.

url: "https://api.mailgun.net/v3/" + this.mailgunUrl + "/messages", body: "from=" + email + "&to=THE_EMAIL" + "&subject=New Reservation&html=Hey! <br> You have a new reservation: <br>" + person + " Person(s)<br>Time: " + times + "<br>Date:" + this.next14Days[idx] + "<br><br> Have a good time!", headers: requestHeaders

You have to test the app on your device, it won't work in the browser.