Skip to content

Nodebb and emails

Solved Configure
Posts 27 Posters 2 Views 1.1k Watching 1
  • 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


Threaded Replies


Related Topics
  • Spam spam spam

    Solved Configure nodebb 24 Dec 2024, 10:49
    2 Votes
    6 Posts
    221 Views
    @Panda said in Spam spam spam: ok, yes Ive seen the queue, it shows IP, but doesnt have a field for comments from registrant. It’s not designed for that. It merely serves as a gateway between posts appearing on your form or not. @Panda said in Spam spam spam: It would be better if nodebb had this plugin included in ACP list, as not only then do you know its approved and should work, but many people cant or dont want to use CLI on the server That’s a question for the NodeBB devs but in all honesty you can’t not use the CLI when installing nodebb so to be this isn’t a big deal.
  • 4 Votes
    7 Posts
    982 Views
    @phenomlab oh no, that is 1 cent on the video, but you are right, symbols are similar… I just converted it to $1 , since it is more intuitive in daily life…
  • Nodebb design

    Solved General nodebb 11 Jul 2023, 10:13
    1 Votes
    2 Posts
    400 Views
    @Panda said in Nodebb design: One negative is not being so good for SEO as more Server side rendered forums, if web crawlers dont run the JS to read the forum. From recollection, Google and Bing have the capability to read and process JS, although it’s not in the same manner as a physical person will consume content on a page. It will be seen as plain text, but will be indexed. However, it’s important to note that Yandex and Baidu will not render JS, although seeing as Google has a 90% share of the content available on the web in terms of indexing, this isn’t something you’ll likely lose sleep over. @Panda said in Nodebb design: The “write api” is preferred for server-to-server interactions. This is mostly based around overall security - you won’t typically want a client machine changing database elements or altering data. This is why you have “client-side” which could be DOM manipulation etc, and “server-side” which performs more complex operations as it can communicate directly with the database whereas the client cannot (and if it can, then you have a serious security flaw). Reading from the API is perfectly acceptable on the client-side, but not being able to write. A paradigm here would be something like SNMP. This protocol exists as a UDP (UDP is very efficient, as it is “fire and forget” and does not wait for a response like TCP does) based service which reads performance data from a remote source, thus enabling an application to parse that data for use in a monitoring application. In all cases, SNMP access should be “RO” (Read Only) and not RW (Read Write). It is completely feasible to assume complete control over a firewall for example by having RW access to SNMP and then exposing it to the entire internet with a weak passphrase. You wouldn’t do it (at least, I hope you wouldn’t) and the same ethic applies to server-side rendering and the execution of commands.
  • 3 Votes
    8 Posts
    558 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
    9 Posts
    841 Views
    OK, I think I have figured out how to place a link in the footer which will click to a new page.
  • 1 Votes
    5 Posts
    808 Views
    @DownPW very useful tip. Thanks
  • 5 Votes
    16 Posts
    1k 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.
  • Nodebb Hashtag plugin

    Solved General 13 Nov 2021, 11:44
    1 Votes
    15 Posts
    1k Views
    @jac Great ! I’ll close this off.