@cagatay said in MailGun Not Working NodeBB:
Hi
I setted mail server as mailgun.
But forum not sending registered email .
022-11-04T13:07:20.734Z [4568/172189] - [31merror[39m: [user.create] Validation email failed to send
[emailer.send] Error: Invalid login: 535 Authentication failed
at SMTPConnection._formatError (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:784:19)
at SMTPConnection._actionAUTHComplete (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:1536:34)
at SMTPConnection.<anonymous> (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:540:26)
at SMTPConnection._processResponse (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:947:20)
at SMTPConnection._onData (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:749:14)
at TLSSocket.SMTPConnection._onSocketData (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:189:44)
at TLSSocket.emit (events.js:400:28)
at addChunk (internal/streams/readable.js:293:12)
at readableAddChunk (internal/streams/readable.js:267:9)
at TLSSocket.Readable.push (internal/streams/readable.js:206:10)
2022-11-04T13:08:50.302Z [4568/172189] - [31merror[39m: [user.create] Validation email failed to send
[emailer.send] Error: Invalid login: 535 Authentication failed
at SMTPConnection._formatError (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:784:19)
at SMTPConnection._actionAUTHComplete (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:1536:34)
at SMTPConnection.<anonymous> (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:540:26)
at SMTPConnection._processResponse (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:947:20)
at SMTPConnection._onData (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:749:14)
at TLSSocket.SMTPConnection._onSocketData (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:189:44)
at TLSSocket.emit (events.js:400:28)
at addChunk (internal/streams/readable.js:293:12)
at readableAddChunk (internal/streams/readable.js:267:9)
at TLSSocket.Readable.push (internal/streams/readable.js:206:10)
2022-11-04T13:08:50.302Z [4568/172189] - [31merror[39m: admin.user.sendValidationEmail
Error: Email sending failed for the following uids, check server logs for more info: 5
at User.sendValidationEmail (/home/nojor/nodebb/src/socket.io/admin/user.js:91:9)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async onMessage (/home/nojor/nodebb/src/socket.io/index.js:160:19)
2022-11-04T13:12:42.634Z [4568/172189] - [31merror[39m: [user.create] Validation email failed to send
[emailer.send] Error: Invalid login: 535 Authentication failed
at SMTPConnection._formatError (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:784:19)
at SMTPConnection._actionAUTHComplete (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:1536:34)
at SMTPConnection.<anonymous> (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:540:26)
at SMTPConnection._processResponse (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:947:20)
at SMTPConnection._onData (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:749:14)
at TLSSocket.SMTPConnection._onSocketData (/home/nojor/nodebb/node_modules/nodemailer/lib/smtp-connection/index.js:189:44)
at TLSSocket.emit (events.js:400:28)
at addChunk (internal/streams/readable.js:293:12)
at readableAddChunk (internal/streams/readable.js:267:9)
at TLSSocket.Readable.push (internal/streams/readable.js:206:10)
2022-11-04T13:12:42.634Z [4568/172189] - [31merror[39m: admin.user.sendValidationEmail
Error: Email sending failed for the following uids, check server logs for more info: 5
at User.sendValidationEmail (/home/nojor/nodebb/src/socket.io/admin/user.js:91:9)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async onMessage (/home/nojor/nodebb/src/socket.io/index.js:160:19)