logo Home
  • Administrators
  • Email
  • Documentation

Set up "Email In" (start topic via email)

  • Users
    • Features
    • How does title and favicon notification work?
    • What are Badges?
    • What are Flags and how do they work?
    • What are "Likes"?
    • What are Mentions?
    • What do user trust levels do?
    • What is a Wiki Post?
    • What is "Infinite Scrolling"?
  • Administrators
    • Essentials
    • Configure automatic backups for Discourse
    • Configure custom emoji
    • Configure your domain name for hosted Discourse
    • Creating and Submitting XML Sitemaps to Google, Bing & Yandex
    • Customize subject format for standard emails
    • Export User Information List
    • Grant a badge to individual users manually
    • How to change FAQ, Privacy Policy, and Terms of Service
    • How to enable Piwik analytics on Discourse
    • Link User Title to a Group
    • Recover a user who was deleted as a spammer
    • Sending Bulk User Invites
    • Setting up file and image uploads to S3
    • Some common badge queries idea
    • Email
    • How to configure mailbox in Google Apps for user-friendly incoming email addresses for discourse categories (with screenshots)
    • Set up "Email In" (start topic via email)
    • Set up reply via email support
    • Use one Fastmail account to serve multiple Discourse instances
    • Logins
    • Configuring Facebook login for Discourse
    • Configuring GitHub login for Discourse
    • Configuring Google OAuth2 login for Discourse
    • Configuring Twitter login for Discourse
    • Using Discourse as a SSO provider
  • Designers
    • Tweaks
    • Custom header with dropdown navigation
    • Custom nav header like discourse.org
  • Sysadmins
    • Install
    • How Do I Install Discourse?
    • Install Discourse in the Cloud
    • How to create an administrator account after install
    • Change the domain name or rename my Discourse?
    • Essentials
    • Change the domain name or rename my Discourse?
    • Change tracking branch for your Discourse instance
    • Enable a CDN for your Discourse
    • Full site CDN acceleration for Discourse
    • How do I update my Docker image to latest?
    • Install a Plugin
    • Move your Discourse Instance to a Different Server
    • Email
    • Configure your domain for Discourse hosted email
    • How to use a self-signed cert with Discourse for emails
    • Troubleshooting email on a new Discourse install
    • Docker
    • Understanding Discourse Docker
    • Multisite configuration with Docker
    • How to configure Discourse Docker on higher end servers
    • How to use Docker multiple containers without exposing ports
    • Migrating an old Discourse install to Docker
    • Host run support for launcher
    • Running other websites on the same machine as Discourse
    • Subfolder support with Docker
    • Troubleshooting Docker Installation Issues
    • Advanced Setup and Administration
    • Miscellaneous
    • Adjust Discourse search to work with CJK languages
    • Advanced, manual method of manually creating and restoring Discourse backups
    • Adventures in haproxy and varnish with discourse because i hate myself
    • Beginners Guide to Install Discourse on Mac OS X for Development
    • Beginners Guide to Install Discourse on Ubuntu for Development
    • Changing Max Attachment Size
    • Configure a firewall for Discourse
    • Create a swapfile for your Linux server
    • Create Admin Account from Console
    • Deploy Discourse to an Ubuntu VPS using Capistrano
    • Deploying Discourse to Amazon (and other clouds)
    • How do I enable DKIM for non-hosted Discourse emails?
    • How to deploy Discourse in 8 minutes with Juju
    • How to set up Discourse on a server with existing Apache sites
    • Migrating from Heroku to a Hosted/Cloud instance
    • Redirect single/multiple domain(s) to your Discourse instance
    • Replace rubygems.org with taobao mirror to resolve network error in China
    • Simple Discourse Deployment with Rubber
  • Developers
    • Environment
    • Discourse Advanced Developer Install Guide
    • Developing under OS X Without Vagrant
    • Setting up Docker in Virtualbox for 'production' testing
    • Discourse Developer Testing Guide
    • Discourse Developer Install Guide (Vagrant)
    • Creating plugins
    • Beginner's Guide to Creating Discourse Plugins
    • Beginner's Guide to Creating Discourse Plugins Part 2: Plugin Outlets
    • Beginner's Guide to Creating Discourse Plugins Part 3: Custom Settings
    • Beginner's Guide to Creating Discourse Plugins Part 4: Git Setup
    • Beginner's Guide to Creating Discourse Plugins Part 5: Admin Interfaces
    • Beginner’s Guide to Creating Discourse Plugins Part 6: Acceptance Tests
    • Plugin Outlet Locations
    • Plugin Tutorial
    • Hacking
    • Using the Discourse API Ruby Gem
    • Discourse API Documentation
    • How to reverse engineer the Discourse API
    • Adding plugin-outlets using site customizations
    • Create group via API
    • Generating lots of Invite Links
    • Invite individual users to a group
    • A badge for all members of a group
    • Triggered custom badge queries
    • Edit a user setting for all Discourse users
    • Embedding Discourse Comments via Javascript
    • Message Format support for localization
    • How to test Discourse in mobile screen emulator
    • Any kind of Data-Input (also anonymous) through Google-Forms
    • Tuning Ruby and Rails for Discourse
    • Official Single-Sign-On for Discourse
    • Forum import
    • Migrating to Discourse from another Forum software
    • Importing from phpBB3
    • How to migrate from Vanilla to Discourse!
    • How to import a Phorum database (via Vanilla Porter)
    • Import posts from Facebook group into Discourse
    • Import from Google Groups to Discourse
    • Archive an old forum "in place" to start a new Discourse forum
    • Redirecting old forum URLs to new Discourse URLs

##Introduction
Discourse is intended to be a web-based forum. Its integration with email is good, but not meant to replace its web interface. Nevertheless, when migrating to Discourse a community which is accustomed to another, more email-based, form of communication such as a Listserver, Google Group or similar, as an admin you may be asked to arrange things so users can start a Topic from email. I have recently had to set this up, and while the information IS available in Discourse Meta already (see this thread), it’s wasn’t in a clear step by step format, and I initially had some problems with getting Start Topic Via Email to work with multiple different Categories.

NB: If you just need users to be able to Reply to a Topic from email, this isn’t the Topic you need. Go to this topic first.

It’s important that you have set up Reply From Email functionality first, since this Howto will assume that you have all the Reply From Email functionality set up and working. Go to this topic first and ensure that replies from email is set up and working.

##HOWTO

  1. I’ll say it again; Please ensure Reply Via Email is working in your Discourse forum FIRST. Here is the HOWTO for that: https://meta.discourse.org/t/set-up-reply-via-email-support/14003

  2. For the example I will set up Start Topic Via Email for a Discourse forum which monitors the POP3 account [email protected] for its Reply From Email function. The same POP3 account is used for Start Topic From Email.

  3. Decide which Categories you want to set up Start Topic From Email for. If there is only one Category then go ahead and jump to step X. If there is more than one Category, you will need to create an email forwarder for each of these Categories. For example, our fictional forum has these categories:
    • Staff
    • Watercooler
    • CIOs
  4. So we need email addresses called something like:
    • [email protected]
    • [email protected]
    • [email protected]
  5. All of these email addresses should redirect to the email address monitored by Discourse: [email protected] Usually you can set up forwarders like this for free on your Domain Registrar’s control panel. If you can’t, change your registrar :wink:

  6. Now we configure each category. For each category, edit the Category settings. When you’re looking at the category, the Edit button is at the top right:

  7. In the Category Settings, go to the Settings tab, and enter the relevant email address in the box. This will be one of the ‘forwarder’ email addresses. I would also recommend ensuring that the box ‘Accept emails from anonymous users with no accounts’ is unchecked otherwise anyone with the email address, including spambots, can post. Do this for each of the Categories that will be accepting incoming New Topics From Email, using the relevant forwarder email address for each Category.

The way this works is that Discourse only has to poll one email account ([email protected]), which is I guess much more efficient, but it can still assign new Topics to the right Category because of the multiple forwarder addresses (in this example [email protected]) persist in the forwarded email data, enabling Discourse to match the new Topic to the right Category correctly.

This is the bit that wasn’t clear to me when I was setting up this arrangement, hence why I thought a more formal HOWTO would be of benefit, hopefully, to someone.

pacharanero (marcus baw)

Source: https://meta.discourse.org/t/set-up-email-in-start-topic-via-email/27686

Content is by-nc-sa, Discourse logo and “Discourse Forum” ® belongs to Civilized Discourse Construction Kit, Inc. and used with permit.

Built with love, Internet style