1
00:00:00,180 --> 00:00:04,950
When it comes to sending emails, it's actually much simpler and straightforward than you think, and

2
00:00:04,950 --> 00:00:08,090
the reason for that is because there is a package.

3
00:00:08,130 --> 00:00:12,860
Surprise, surprise, there's another package that does all the heavy lifting for us.

4
00:00:12,960 --> 00:00:16,260
So we only need to provide food values and we're good to go.

5
00:00:16,590 --> 00:00:23,280
The package your name is not Maila and it is by far, by far the most popular option for sending emails

6
00:00:23,610 --> 00:00:24,480
as far as a set up.

7
00:00:24,480 --> 00:00:31,140
If you take a look at the docs located at Norman Mailer dot com, you can see that in Stockmann NPM

8
00:00:31,140 --> 00:00:38,640
install more ifour short and you're just looking for a package named Norman Mailer that if we keep on

9
00:00:38,640 --> 00:00:43,860
scrolling, the actual logic is here where we get the Norman Mailer.

10
00:00:44,100 --> 00:00:46,230
So we're required to package that.

11
00:00:46,230 --> 00:00:50,120
If we have a test account, we go and create test account.

12
00:00:50,370 --> 00:00:58,050
And this is going to make way more sense after the following video where we'll actually set up the service,

13
00:00:58,050 --> 00:01:00,090
which is the next thing that we need to do.

14
00:01:00,360 --> 00:01:07,290
So we need to create a transporter using create transport, where essentially we connect to the service

15
00:01:07,800 --> 00:01:09,180
that does the sending.

16
00:01:09,480 --> 00:01:10,950
So we have not mailer.

17
00:01:11,260 --> 00:01:16,490
But I will set up the logic, but we still need some kind of service that will do the sending part.

18
00:01:16,500 --> 00:01:23,520
And again, this is going to make way more sense after the following video where we will set up a test

19
00:01:23,520 --> 00:01:25,710
account with one of those services.

20
00:01:25,710 --> 00:01:30,420
And of course, in the next video, I'll cover all of this in great detail.

21
00:01:30,930 --> 00:01:35,640
And as far as the actual logic, here it is, which is go transporter's.

22
00:01:35,640 --> 00:01:41,040
So once we have provided the credentials for service, we go with sendmail.

23
00:01:41,040 --> 00:01:48,000
And then, I mean, I probably don't need to explain from to your subject text, and I only got you

24
00:01:48,000 --> 00:01:48,600
probably here.

25
00:01:48,600 --> 00:01:50,600
Is that as far as our email.

26
00:01:50,880 --> 00:01:52,810
So who the emails from?

27
00:01:53,070 --> 00:01:56,370
Well, we need to set it up here in the annual brackets.

28
00:01:56,580 --> 00:01:58,310
That's all there is to it.

29
00:01:58,620 --> 00:02:03,930
Now, if we want to actually email recordation of my property and then we can provide elements, if

30
00:02:03,930 --> 00:02:05,490
I want to send, I'll text.

31
00:02:05,800 --> 00:02:08,880
Then we're just set up as a text property.

32
00:02:09,270 --> 00:02:17,280
And once we're familiar with Norman Mailer now talk about the services that do the sending part.

