Skip to content

Nodebb and emails

Solved Configure
  • what version of nodebb is this site on now? Theres a bug that when I post it remains blank. If I reload page what I type shows!

  • what version of nodebb is this site on now? Theres a bug that when I post it remains blank. If I reload page what I type shows!

    @Panda that’s a css issue I need to fix. Nothing major.

  • @phenomlab Ive put a plea of Nodebb site for a response to my many threads on this.
    Im not overstating it when I say people have left nodebb because of the same headache

    @Panda said in Nodebb and emails:

    Im not overstating it when I say people have left nodebb because of the same headache

    It’s going to be something simple. PM me the details of your site, and also the details for your fastmail account and I’ll get it to work.

    I’ll need your fastmail login and admin access to your forum.

  • OK, after taking a look at this, I’ve done the following

    1. Set your nodebb instance to use custom smtp and send via smtp.fastmail.com
    2. Save and test

    I now get the error

    Invalid login: 535 5.7.0 Sorry, you need to create an app password to use this service. Please see fastmail.com/help for more details.
    

    This means you need to configure an app inside fastmail to send emails.

    After you’ve done this, it should work

  • OK, after taking a look at this, I’ve done the following

    1. Set your nodebb instance to use custom smtp and send via smtp.fastmail.com
    2. Save and test

    I now get the error

    Invalid login: 535 5.7.0 Sorry, you need to create an app password to use this service. Please see fastmail.com/help for more details.
    

    This means you need to configure an app inside fastmail to send emails.

    After you’ve done this, it should work

    @phenomlab ok thanks will try with app password
    I wonder why it needed custom setup

  • @phenomlab ok thanks will try with app password
    I wonder why it needed custom setup

    @Panda likely because the predefined settings are out of date. Realistically, nodebb devs can’t possibly maintain correct settings for mail services they do not control.

  • undefined Panda has marked this topic as solved on 22 Dec 2024, 10:49
  • Finally it works, thanks.
    I had to regenerate the app password on fastmail, and the test email send is working.

    Out of interest, in your custom set up of fastmail, how did you know to pick SMPT port 465?

  • Finally it works, thanks.
    I had to regenerate the app password on fastmail, and the test email send is working.

    Out of interest, in your custom set up of fastmail, how did you know to pick SMPT port 465?

  • undefined phenomlab has marked this topic as solved on 22 Dec 2024, 11:15
  • Follow up question:
    Re this past comment on NodeBB
    “There are three ways to send emails from NodeBB:
    Emailer plugin. (Like sendgrid). These plugins allow you to use email distribution services like Sendgrid, MailChimp, etc to send out emails. This helps about issues of spam filtering and such, because it’s their email servers handling all of that. These plugins contact the email service via http and then the service sends your emails out.
    SMTP transport. This is built into NodeBB. It is only used if you don’t have an emailer plugin active and you enable “Enable SMTP transport” (previously “Use an external server to send emails”) in the email settings. The SMTP transport allows you to either pick from a list of known services (provided by the underlying module nodemailer) or to provide custom settings yourself. It contacts the server via SMTP and then the SMTP server sends your your emails.”

    Im still confused about which of these methods is best in theory
    When you use an internal post fix server does this use (1) Emailer plugin or (2) SMTP?

  • Follow up question:
    Re this past comment on NodeBB
    “There are three ways to send emails from NodeBB:
    Emailer plugin. (Like sendgrid). These plugins allow you to use email distribution services like Sendgrid, MailChimp, etc to send out emails. This helps about issues of spam filtering and such, because it’s their email servers handling all of that. These plugins contact the email service via http and then the service sends your emails out.
    SMTP transport. This is built into NodeBB. It is only used if you don’t have an emailer plugin active and you enable “Enable SMTP transport” (previously “Use an external server to send emails”) in the email settings. The SMTP transport allows you to either pick from a list of known services (provided by the underlying module nodemailer) or to provide custom settings yourself. It contacts the server via SMTP and then the SMTP server sends your your emails.”

    Im still confused about which of these methods is best in theory
    When you use an internal post fix server does this use (1) Emailer plugin or (2) SMTP?

    @Panda it will use SMTP. In all cases, I never use any plugin to send email. I’ll always send it raw.

  • 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 💗


27/27

22 Dec 2024, 14:25



Related Topics
  • 0 Votes
    6 Posts
    466 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
    9 Posts
    668 Views
    OK, I think I have figured out how to place a link in the footer which will click to a new page.
  • Email Server Settings

    Solved Configure mx entry 20 Feb 2023, 23:03
    8 Votes
    23 Posts
    2k Views
    @Madchatthew mailgun would be my recommendation here. I think they also have a free plan if I’m not mistaken.
  • restarting nodebb on boot

    Unsolved Configure nodebb 18 Dec 2022, 19:48
    1 Votes
    3 Posts
    421 Views
    @eeeee said in restarting nodebb on boot: can I just run nodebb under nodemon for auto restarts? It’s a better method. Nodemon just looks for file system changes and would effectively die if the server was rebooted meaning you’d have to start it again anyway. Systemd is the defacto standard which is how the operating system interacts in terms of services, scheduled tasks etc.
  • Podcast Share NodeBB

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

    Solved Configure 14 Apr 2022, 14:07
    5 Votes
    14 Posts
    1k Views
    @marusaky based on the work completed thus far (in relation to PM exchanges), I’m going to mark this completed. Sending email from the server itself works fine without issue, and DNS appears to be clean (valid SPF, DMARC, and DKIM records). It appears that only Gmail marks incoming messages from your domain as spam - perhaps because of the domain age, which there is nothing we can do to prevent this. Mail delivery to all other domains appears to work fine in al of my tests.
  • NodeBB metadata

    Solved Configure nodebb 8 Dec 2021, 16:37
    2 Votes
    4 Posts
    547 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.