Send message feature #11
@@ -28,6 +28,7 @@ module.exports = {
|
||||
|
||||
sendEmal: function (name, fromEmail, message, toEmail) {
|
||||
return new Promise ((resolve, reject) => {
|
||||
fromEmail = this.transformEmailFromAlexaResponse(fromEmail);
|
||||
let messageBody =
|
||||
'Hello. User left you a message on Saburly service using Alexa skill. \r\nMessage : ' +
|
||||
message +
|
||||
|
||||
@@ -101,8 +101,7 @@ module.exports = {
|
||||
':elicitSlot',
|
||||
slotToElicit,
|
||||
speechOutput,
|
||||
repromptSpeech,
|
||||
intent
|
||||
repromptSpeech
|
||||
);
|
||||
} else {
|
||||
//Email is valid
|
||||
|
||||
Reference in New Issue
Block a user