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.

  • Pandaundefined Panda has marked this topic as solved on
  • 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?

  • phenomlabundefined phenomlab has marked this topic as solved on
  • 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 💗

Related Topics
  • 2 Votes
    86 Posts
    2k Views
    @julian I’ve been unable to get AP following to work in either direction. I mean it is sometimes possible to follow somebody and get followed by other sites, but no actual posts ever come into or out of my nodebb instance (forum.n66.pl). The only thing that works is importing posts directly by entering their URL in the search area, which is also temperamental – sometimes the same post can be imported and sometimes it can’t. I also tried following people from individual categories. It never worked except for one instance where it seems to have been stuck with a “pending” message, but I have no way of accepting or rejecting the follow request on the other side (it should be accepted automatically). Sometimes the same happens when entering followed people’s URLs in the search panel. Looking forward to fixes.
  • Composer options on nodebb

    Solved Configure
    8
    1
    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; }
  • NodeBB: Upgrading to NodeBB v3.x

    Solved Configure
    6
    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.
  • nodebb loading emojis

    Solved Configure
    16
    1
    1 Votes
    16 Posts
    715 Views
    @DownPW sure. Let me have a look at this in more detail. I know nginx plus has extensive support for this, but it’s not impossible to get somewhere near acceptable with the standard version. You might be better off handling this at the Cloudflare level given that it sits in between the requesting client and your server.
  • Adding fileWrite to nodebb code

    Solved Configure
    16
    1
    5 Votes
    16 Posts
    839 Views
    @eveh this might be a question for the NodeBB Devs themselves. In all honesty, I’m not entirely sure without having to research this myself.
  • Dark Theme Upper Padding

    Solved Customisation
    7
    1
    6 Votes
    7 Posts
    560 Views
    @DownPW great! thanks a lot… this code solves my problem.
  • [NODEBB] Help for my custom CSS

    Solved Customisation
    204
    40 Votes
    204 Posts
    34k Views
    @phenomlab Find him : [image: 1738443295726-76089049-894e-490f-bafa-10469193aca0-image.png] But I use this code for control image on topics and Shoutbox EDIT: I disabled this code and it seems to be OK Thanks @phenomlab
  • Iframely (Nodebb)

    Solved Configure
    40
    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.