Skip to content

Nodebb and emails

Solved Configure
27 2 1.2k 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.

  • 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
  • CSS codes to prevent votes to disappear

    Solved Customisation nodebb
    3
    1 Votes
    3 Posts
    413 Views
    @phenomlab yes, it is thanks a lot…
  • Nodebb 3.2.0

    Bugs nodebb nodebb 3.2.0
    20
    1
    2 Votes
    20 Posts
    2k Views
    @crazycells yes, I’m aware of that. Need to fix EDIT- fixed. Caused by the same CSS that is used to absolutely position the “verified” group badge in the posts view. Amended this CSS so that is specifically targets the post stream as below li[component="post"] a[href*="/groups/verified"] { position: absolute !important; left: 8px; z-index: 2; margin-top: 1px; border-radius: 999px !important; line-height: 14px; display: block; height: 22px; margin-left: 0px !important; }
  • Removing blue 'moved' tag from post

    Solved Configure nodebb
    16
    2
    3 Votes
    16 Posts
    2k Views
    @phenomlab Ah, got it working! I reversed the CSS addition to put z index high, and then I could see another error box saying fork title must be at least 3 characters. So made the new fork title longer and button responded.
  • Difficult to move posts now, on mobile.

    Bugs nodebb
    16
    1
    5 Votes
    16 Posts
    2k Views
    @DownPW Yes, it is. It’s set far too low meaning other elements with a higher preference will sit over the top of it.
  • MailGun Not Working NodeBB

    Solved Configure mail mailgun
    6
    1 Votes
    6 Posts
    581 Views
    @phenomlab did it i did not create smtp user on mailgun. everything is working now. [image: 1667569376261-6cc6061f-ed5d-41f6-8eb7-5d98f98b3706-image.png]
  • ineffecient use of space on mobile

    Solved Customisation nodebb
    10
    2
    7 Votes
    10 Posts
    1k Views
    @phenomlab Thanks
  • Configure SMTP for Nodebb

    Solved Configure
    14
    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
    4
    2 Votes
    4 Posts
    578 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 🤪🤪.