1
00:00:00,300 --> 00:00:05,910
OK, so we're clear that we'll use Norman Mailer, but another crucial part of the setup is a transport

2
00:00:05,910 --> 00:00:12,390
service, which Norman Mailer will use to send the actual email farzat options for testing.

3
00:00:12,570 --> 00:00:20,340
We can use services like etherial or mail trap and for production, most popular options are it and

4
00:00:20,340 --> 00:00:20,870
mail gun.

5
00:00:21,180 --> 00:00:26,580
You can also use the good old Gmail account for this, but we're not going to do that.

6
00:00:26,580 --> 00:00:32,610
And of course, the good news is that going from testing set up to production setup is as smooth as

7
00:00:32,610 --> 00:00:33,150
it gets.

8
00:00:33,180 --> 00:00:34,980
You simply need to swap the credentials.

9
00:00:35,820 --> 00:00:42,690
And you're good to go for testing, I decided to go with etherial, which is completely free for SMTP

10
00:00:42,690 --> 00:00:49,890
servers, and what I really like about etherial is that you can set up an account in a matter of seconds.

11
00:00:50,190 --> 00:00:53,340
Just navigate to etherial dot email.

12
00:00:53,600 --> 00:01:00,120
Again, the website is etherial that email and create a new account.

13
00:01:00,510 --> 00:01:08,700
And once you do, you'll see all of these values where essentially the name of the username as well

14
00:01:08,700 --> 00:01:09,560
as the password.

15
00:01:09,930 --> 00:01:14,640
Now, in order to log in and check your emails, you'll need resolvers.

16
00:01:14,730 --> 00:01:21,530
Just remember that if for some reason you lose them, you can create as many accounts you want, like

17
00:01:21,540 --> 00:01:22,230
you just saw.

18
00:01:22,440 --> 00:01:24,390
It happens in a matter of seconds.

19
00:01:24,690 --> 00:01:32,880
So I wouldn't lose my sleep over it, meaning I wouldn't worry about not saving these values and stuff

20
00:01:32,880 --> 00:01:33,690
along those lines.

21
00:01:34,110 --> 00:01:42,960
And as far as the configuration, notice how this matches exactly to what we have in Mailer, where

22
00:01:42,960 --> 00:01:45,960
essentially we're just connecting to etherial.

23
00:01:46,290 --> 00:01:52,860
We provide here to host the port as well as our username and password.

24
00:01:53,250 --> 00:02:00,210
Lastly, like I just mentioned, going from testing to your production is really just about changing

25
00:02:00,210 --> 00:02:01,140
these credentials.

26
00:02:01,560 --> 00:02:07,740
So you'll pick your service, you'll get your actual credentials, and then in order to connect, you'll

27
00:02:07,740 --> 00:02:09,090
have to provide them over here.

28
00:02:09,479 --> 00:02:17,520
And therefore, normally normally you'll set them up in that area because, of course, you don't want

29
00:02:17,520 --> 00:02:20,340
to share them with the rest of the world.

30
00:02:20,550 --> 00:02:22,600
You want to keep them confidential.

31
00:02:22,950 --> 00:02:25,350
Now, I'm not going to do that in this project.

32
00:02:25,710 --> 00:02:32,730
Just keep in mind that normally that is the setup where you set a process that and then you'll just

33
00:02:32,730 --> 00:02:35,460
use the variables over here.

34
00:02:35,790 --> 00:02:43,800
And once you have the A.l account, once you have all the proper values to create Transporter, then

35
00:02:43,800 --> 00:02:46,500
we can start finally sending emails.

36
00:02:46,770 --> 00:02:48,150
We know Maler.

