Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
User Account
Commits
fd33b018
Commit
fd33b018
authored
Jun 02, 2021
by
Rosanny Sihombing
Browse files
remove 'tls' from nodemailer.createTransport
parent
dcec40f2
Changes
1
Show whitespace changes
Inline
Side-by-side
config/mailer.js
View file @
fd33b018
...
@@ -5,14 +5,11 @@ const config = require('./config')[env]
...
@@ -5,14 +5,11 @@ const config = require('./config')[env]
var
smtpTransport
=
nodemailer
.
createTransport
({
var
smtpTransport
=
nodemailer
.
createTransport
({
host
:
config
.
mailer
.
host
,
host
:
config
.
mailer
.
host
,
secure
Connection
:
config
.
mailer
.
secureConnection
,
secure
:
config
.
mailer
.
secureConnection
,
port
:
config
.
mailer
.
port
,
port
:
config
.
mailer
.
port
,
auth
:
{
auth
:
{
user
:
config
.
mailer
.
authUser
,
user
:
config
.
mailer
.
authUser
,
pass
:
config
.
mailer
.
authPass
pass
:
config
.
mailer
.
authPass
},
tls
:
{
ciphers
:
config
.
mailer
.
tlsCiphers
}
}
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment