How to set up Feishu's free SMTP service for your Discourse community

I was asked how to use an SMTP mail server, so I thought I’d share this recommendation for beginners. No ads, just helpful information!

Feishu (Lark) is a Chinese company that provides enterprises with a one-stop solution for workflow and work platforms. However, anyone can create an account and use its free services. Feishu offers SMTP services to free users, with a daily sending limit of 450 emails, amounting to nearly 15,000 free emails per month.

For a growing Discourse community administrator, this is incredibly valuable. You can use the free SMTP service provided by Feishu to set up your Discourse community, especially suitable for small and medium-sized Discourse communities with less than 150 active users.

Setting Up Feishu Mailbox

First, you need to register an enterprise account and log in. Note that the enterprise account information does not need to be for a real existing company; you can fill it in arbitrarily.

Part One: Enable Email Service

  1. Access the Admin Console:

  1. Navigate to Mail Settings:

    Click on Product Settings at the top.

Select Mail, then click Add Domain.

  1. Enter Your Domain:

    • In the popup window, enter your domain name.
    • Click the Submit button.
  2. Choose “Enable New Mailbox Service”:

    • Select the option to enable a new mailbox service.
  3. Configure DNS Records:

    • Follow the instructions to configure the DNS records for your domain.
    • Go to your domain management (e.g., Cloudflare).
    • Add the necessary DNS records displayed by Feishu.

  1. Verify DNS Records:

    • Click the Verify Now button on the Feishu settings page.
      • If verification fails, double-check the records and wait a moment.
    • After verification is successful, click Next.
  2. Configure Mail Entry and Address:

    • Click the Configure Now button.
    • In the popup window, click Add (usually a red button or link to add a mailbox).
  3. Assign Mailboxes to Members:

    • In the member details window, find the corporate mailbox field.
    • Enter the mailbox address for the corporate member, then save.
  4. Complete Setup:

    • Return to the “Configure Mail Entry and Corporate Mailbox Address” page.
    • Click Finish to complete the setup.

Part Two: Configure a Public Mailbox for SMTP

  1. Access Public Mailbox Settings:

    • In the Feishu Admin Console, navigate to Product SettingsMailPublic Mailbox.

  1. Create a New Public Mailbox:

    • Click Create Public Mailbox.
  2. Configure the Public Mailbox:

    • Enter the required Name and Address.
    • Enable IMAP/SMTP Services.
    • Click Create.
  3. View IMAP/SMTP Settings:

    • After creating the mailbox, find it in the list and click Edit.
      • Note down the provided IMAP/SMTP configuration information.

Configure the SMTP information into your Discourse server, and you’ll have a free SMTP sending service with 450 emails per day and 15,000 emails per month!