课程: Building Dynamic Websites using AWS Lambdas

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Solution: Add in the information from the feedback form to your Lambda function

Solution: Add in the information from the feedback form to your Lambda function - Amazon Web Services (AWS)教程

课程: Building Dynamic Websites using AWS Lambdas

Solution: Add in the information from the feedback form to your Lambda function

(lively music) - [Trainer] How did it go? Hopefully pretty smoothly. You've actually already done something very similar to this when you pulled out the name submitted as part of the feedback form in our response, we just need to do that again throughout our email. So the to address should stay the same. We're always going to send that to the same person an info or support email. It's the message body and specifically the data past the text that we want to update. So let's fill in some things here. Let's provide the name of the submitter. And for each one of these we can just add to the stream from our params array the value of the relevant field. So that's easy enough. And then I'm going to use the /n as a carriage return or an Enter. Then I want to provide the Email address submitted, so in case our support person wants to actually get in touch with them and deal with perhaps a really positive or a really negative…

内容