This commit is contained in:
GotPPay
2018-01-23 12:18:20 +01:00
parent e2d648980b
commit d8b2f5f0b4
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ module.exports = {
return validEmailRegex.test (email);
},
sendEmal: function (name, fromEmail, message, toEmail) {
sendEmail: function (name, fromEmail, message, toEmail) {
return new Promise ((resolve, reject) => {
fromEmail = this.transformEmailFromAlexaResponse(fromEmail);
let messageBody =

View File

@@ -121,7 +121,7 @@ module.exports = {
console.log ('Email : ' + intent.slots.Email.value);
console.log ('Message : ' + intent.slots.Message.value);
emailHelper
.sendEmal (
.sendEmail (
intent.slots.Name.value,
intent.slots.Email.value,
intent.slots.Message.value,