Skip to content
GitLab
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
Hide whitespace changes
Inline
Side-by-side
config/mailer.js
View file @
fd33b018
...
...
@@ -5,15 +5,12 @@ const config = require('./config')[env]
var
smtpTransport
=
nodemailer
.
createTransport
({
host
:
config
.
mailer
.
host
,
secure
Connection
:
config
.
mailer
.
secureConnection
,
secure
:
config
.
mailer
.
secureConnection
,
port
:
config
.
mailer
.
port
,
auth
:
{
user
:
config
.
mailer
.
authUser
,
pass
:
config
.
mailer
.
authPass
},
tls
:
{
ciphers
:
config
.
mailer
.
tlsCiphers
}
}
});
var
mailOptions
=
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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