Solved Can't send with mail configuration
-
I am trying to send the created selfies by mail, but I always get a TLS error, I am using yahoo mail with the correct settings, is it possible that it is yahoo’s fault, which provider should I use?
Error:
[06.06.2023 16:31.37.884] [ERROR] [SELFIES-SENDER] sendMailConfig Error: Client network socket disconnected before secure TLS connection was established at connResetException (node:internal/errors:704:14) at TLSSocket.onConnectEnd (node:_tls_wrap:1590:19) at TLSSocket.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1358:12) at process.processTicksAndRejections (node:internal/process/task_queues:83:21) { code: 'ESOCKET', path: undefined, host: '87.248.97.36', port: 587, localAddress: undefined, command: 'CONN' }
Config:
{
“module”: “EXT-SelfiesSender”,
“disabled”: false,
“config”: {
“debug”: true,
“sendTelegramBotAuto”: false,
“sendGooglePhotos”: false,
“sendGooglePhotosAuto”: false,
“sendMail”: true,
“sendMailAuto”: true,
“sendMailConfig”: {
“transport”: {
“host”: “smtp.mail.yahoo.com”,
“port”: 587,
“secure”: true,
“auth”: {
“user”: “prudencioandreogarcia@yahoo.com”,
“pass”: "yourpass
}
},
“message”: {
“from”: “prudencioandreogarcia@yahoo.com”,
“to”: “prudencioandreogarcia@gmail.com”,
“subject”: “EXT-SelfieSender – This is your new selfie.”,
“text”: “New selfie.”
}
}
}
} -
can you try to use port
465
? -
Another error:
[07.06.2023 10:36.59.097] [ERROR] [SELFIES-SENDER] sendMailConfig Error: Invalid login: 535 5.7.0 (#AUTH005) Too many bad auth attempts. at SMTPConnection._formatError (/home/pruden/MagicMirror/modules/EXT-SelfiesSender/node_modules/nodemailer/lib/smtp-connection/index.js:790:19) at SMTPConnection._actionAUTHComplete (/home/pruden/MagicMirror/modules/EXT-SelfiesSender/node_modules/nodemailer/lib/smtp-connection/index.js:1564:34) at SMTPConnection.<anonymous> (/home/pruden/MagicMirror/modules/EXT-SelfiesSender/node_modules/nodemailer/lib/smtp-connection/index.js:546:26) at SMTPConnection._processResponse (/home/pruden/MagicMirror/modules/EXT-SelfiesSender/node_modules/nodemailer/lib/smtp-connection/index.js:969:20) at SMTPConnection._onData (/home/pruden/MagicMirror/modules/EXT-SelfiesSender/node_modules/nodemailer/lib/smtp-connection/index.js:755:14) at SMTPConnection._onSocketData (/home/pruden/MagicMirror/modules/EXT-SelfiesSender/node_modules/nodemailer/lib/smtp-connection/index.js:193:44) at TLSSocket.emit (node:events:513:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Readable.push (node:internal/streams/readable:228:10) at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23) { code: 'EAUTH', response: '535 5.7.0 (#AUTH005) Too many bad auth attempts.', responseCode: 535, command: 'AUTH PLAIN' }
-
It is working correctly, I have used a zoho account. I don’t know what the problem would be, but now it works correctly
-