Я использовал эту конфигурацию, но не получил ответ от сервера
const mailTransport = mailer.createTransport({
host: 'mail.mydomain.com',
secure: true,
port: 587,
tls: {cipher:'SSLv3'},
auth: {
user: 'ourdomain,
pass: 'the password'
}
})
Ошибка
Error: Connection timeout
at SMTPConnection._formatError (/development/pms/pms-api/node_modules/nodemailer/lib/smtp-connection/index.js:784:19)
at SMTPConnection._onError (/development/pms/pms-api/node_modules/nodemailer/lib/smtp-connection/index.js:770:20)
at Timeout.<anonymous> (/development/pms/pms-api/node_modules/nodemailer/lib/smtp-connection/index.js:235:22)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7) {
code: 'ETIMEDOUT',
command: 'CONN'
}