Код: Выделить всё
const transporter = nodemailer.createTransport({
host: SMTP_SERVER_HOST,
port: Number(SMTP_SERVER_PORT),
secure: true,
auth: {
user: SMTP_SERVER_USERNAME,
pass: SMTP_SERVER_PASSWORD,
},
});
Код: Выделить всё
Something Went Wrong Error: connect ECONNREFUSED ::1:587
at (Error: connect ECONNREFUSED ::1:587) {
errno: -111,
code: 'ESOCKET',
syscall: 'connect',
address: '::1',
port: 587,
command: 'CONN'
}
Любая помощь приветствуется!
Подробнее здесь: https://stackoverflow.com/questions/798 ... nd-their-m
Мобильная версия