Skip to content

MailGun Not Working NodeBB

Solved Configure
  • Hi
    I setted mail server as mailgun.
    But forum not sending registered email .

  • Hi
    I setted mail server as mailgun.
    But forum not sending registered email .

    @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] - error: [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] - error: [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] - error: 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] - error: [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] - error: 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)
  • @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] - error: [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] - error: [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] - error: 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] - error: [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] - error: 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)
    

    @cagatay said in MailGun Not Working NodeBB:

    Error: Invalid login: 535 Authentication failed

    The clue is in the error message

    Error: Invalid login: 535 Authentication failed
    

    You should check the username and password.

  • @cagatay said in MailGun Not Working NodeBB:

    Error: Invalid login: 535 Authentication failed

    The clue is in the error message

    Error: Invalid login: 535 Authentication failed
    

    You should check the username and password.

    @phenomlab it should be created by mailgun or my mail is also working yandex.

    that user and pass yandex mail but service mailgun how can i fix it i do not know.

    320ad480-68f6-4dac-b48c-3623a1469f7e-image.png

  • @phenomlab it should be created by mailgun or my mail is also working yandex.

    that user and pass yandex mail but service mailgun how can i fix it i do not know.

    320ad480-68f6-4dac-b48c-3623a1469f7e-image.png

    @cagatay What happens if you try to send a test message?

  • @cagatay What happens if you try to send a test message?

    @phenomlab did it 🙂 i did not create smtp user on mailgun. everything is working now.

    6cc6061f-ed5d-41f6-8eb7-5d98f98b3706-image.png

  • undefined cagatay has marked this topic as solved on 4 Nov 2022, 13:44


1/6

4 Nov 2022, 13:11


Did this solution help you?
Did you find the suggested solution useful? Why not buy me a coffee? It's a nice gesture, and a great way to show your appreciation 💗

Related Topics
  • 3 Votes
    30 Posts
    2k Views
    @DownPW any update?
  • 3 Votes
    8 Posts
    466 Views
    @Panda You should be able to expose the CSS for these using F12 to get into console [image: 1686833368846-3591518c-e3a3-4ada-a43c-6b32a5e0359c-image.png] [image: 1686833399483-a2b8ed46-4157-4ff2-85f0-576543380107-image.png] That should then expose the element once selected [image: 1686833431032-89d9c545-a47a-40d1-98f4-80cf3b958e8f-image.png] Here’s the below CSS you need based on the screenshot provided. .composer .formatting-bar .formatting-group li[data-format="picture-o"], .composer .formatting-bar .formatting-group li[data-format="spoiler"] { display: none; }
  • 0 Votes
    2 Posts
    321 Views
    @mventures Quick reply is basically exactly that. However, it’s possible to trigger the full composer as below [image: 1681314389744-82ca1209-31be-4a51-a641-9887b5a238b8-image.png] Failing that, you’ll need to use the reply button in the sticky toolbar [image: 1681314442570-1d230bcb-ff8e-4756-94f7-6e2fb7a94bc4-image.png]
  • 0 Votes
    6 Posts
    346 Views
    @mventures You’d need to connect to the server and execute it directly - not on your local terminal. Review the guide below, which will show you how to gain access via SSH to your server https://docs.ovh.com/gb/en/dedicated/ssh-introduction/ Once you have access, you’ll need to navigate to the actual folder where NodeBB is installed You’ll then need to change to the directory as shown below /home/unbuntu/nodebb [image: 1680448167972-fdffe673-bf63-4b6d-a728-5506fddc1aff-image.png] In most cases, initial access takes you to the root of the file system. You can always issue pwd in a Linux terminal which will show you the Present Working Directory. From there, you can issue the command cd /home/ubuntu/nodebb Once in the NodeBB directory, you’d use the below commands ./nodebb stop git fetch && git checkout develop && git reset --hard origin/develop ./nodebb upgrade ./nodebb start Line 1 stops the NodeBB instance Line 2 gets the latest files from GIT (repository) and then checks out the development branch. It then resets the version you are using to the development branch ready for v3 Line 3 Runs the upgrade once the new branch is set, and code pulled Line 4 Restarts the NodeBB instance after the upgrade has completed Note that when you restart NodeBB and log back in, things will look very different to what you had in v2.
  • 0 Votes
    2 Posts
    214 Views
    @mventures the swatch feature you refer to isn’t a NodeBB plugin, but a utility that I wrote that handles this. It is available for v2 (as you can see here) but I’ve stopped developing and releasing the code because it has been entirely rewritten to work for v3. If you’d like the code, this is possible, but you’ll need to upgrade to v3 first.
  • Podcast Share NodeBB

    Solved Configure 2 Nov 2022, 11:37
    4 Votes
    15 Posts
    753 Views
    @cagatay You could experiment with nodebb-plugin-ns-embed but I expect the x-origin tag on the remote site to prevent playback.
  • NodeBB metadata

    Solved Configure 8 Dec 2021, 16:37
    2 Votes
    4 Posts
    456 Views
    @phenomlab said in NodeBB metadata: @jac Are you sure ? https://www.google.co.uk/search?q=site%3Astockportcounty.fans&sxsrf=AOaemvLwnaZL-PliU_2dBOg_Eo1pMVhBjg%3A1638982328139&source=hp&ei=uOKwYeatBcOsad3yp7AE&iflsig=ALs-wAMAAAAAYbDwyLBSDcG5XYoFCKwQFhgz94wTxOcV&ved=0ahUKEwjm6dX71NT0AhVDVhoKHV35CUYQ4dUDCAk&uact=5&oq=site%3Astockportcounty.fans&gs_lcp=Cgdnd3Mtd2l6EAM6BAgjECc6CwgAEIAEELEDEIMBOg4ILhCABBCxAxDHARCjAjoRCC4QgAQQsQMQgwEQxwEQowI6BQguEIAEOggIABCABBCxAzoFCAAQgAQ6CAguELEDEIMBOgsILhCABBDHARCvAToICC4QgAQQsQM6BQgAELEDOgsILhCABBDHARDRAzoLCAAQgAQQsQMQyQM6BQgAEJIDUABYySZg0CdoAHAAeACAAW2IAa0NkgEEMjMuMpgBAKABAQ&sclient=gws-wiz Fair enough 🤪🤪.
  • Iframely (Nodebb)

    Solved Configure 5 Nov 2021, 15:37
    4 Votes
    40 Posts
    3k Views
    @DownPW This is now resolved. The issue was an incorrect URL specified in the Nodebb plugin. I’ve corrected this, and now it works as intended.