今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Sending emails from Node
- [Instructor] Now that we've got our email provider set up, we've got the SendGrid API key added and everything, you're going to see that the next thing in the steps says, send your first email. And if you want, you can just copy and paste the code that they have here and test it for yourself. But we're actually going to do something a little bit different. So let's head over to our backend and inside our Routes folder, we're going to create a new route for testing our emails. This will just be something that will be useful for us to make sure we have everything set up correctly. So let's create a new file here, we'll call it testEmailRoute.js and we're also going to create a new utility function for sending emails. So let's actually create a new folder in our backend we'll call it util and inside there let's create a new file which we'll call sendEmail.js. I've usually found that it's just very helpful to abstract…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
The basic email verification process2 分钟 51 秒
-
(已锁定)
Setting up an email provider5 分钟 40 秒
-
(已锁定)
Sending emails from Node8 分钟 15 秒
-
(已锁定)
Integrating verification tokens8 分钟 20 秒
-
Creating a verify email page5 分钟 11 秒
-
(已锁定)
Adding a verify email route5 分钟 40 秒
-
(已锁定)
Creating a verification landing page6 分钟 8 秒
-
(已锁定)
Handling successful and failed verifications5 分钟 8 秒
-
-
-
-
-
-