File tree Expand file tree Collapse file tree 4 files changed +295
-266
lines changed Expand file tree Collapse file tree 4 files changed +295
-266
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ This is a Node.js-based mail server that provides SMTP (Simple Mail Transfer Pro
7
7
Before running the mail server, ensure that you have the following prerequisites installed:
8
8
9
9
- Node.js (version 14 or higher)
10
- - MongoDB (running on ` mongodb://192.168.1.248:27017 ` )
10
+ - MongoDB
11
11
- NPM (Node Package Manager)
12
12
13
13
## Installation
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ let client;
5
5
6
6
async function connectMongoDB ( ) {
7
7
try {
8
- client = new MongoClient ( mongoURL , { useUnifiedTopology : true } ) ;
8
+ client = new MongoClient ( mongoURL ) ;
9
9
await client . connect ( ) ;
10
10
console . log ( "Connected to MongoDB" ) ;
11
11
} catch ( error ) {
Original file line number Diff line number Diff line change 17
17
"emailjs" : " ^4.0.2" ,
18
18
"express" : " ^4.18.2" ,
19
19
"mailparser" : " ^3.6.4" ,
20
- "mongodb" : " ^5.6 .0" ,
20
+ "mongodb" : " ^6.7 .0" ,
21
21
"node-cron" : " ^3.0.3" ,
22
22
"nodemailer" : " ^6.9.3" ,
23
- "nodemon" : " ^2.0.22 " ,
23
+ "nodemon" : " ^3.1.4 " ,
24
24
"querystring" : " ^0.2.1" ,
25
25
"smtp-server" : " ^3.12.0" ,
26
26
"smtpd" : " ^0.1.7" ,
You can’t perform that action at this time.
0 commit comments