logo Home
  • Administrators
  • Email
  • Documentation

Set up reply via email support

  • 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

So you’d like to set up reply via email support for your Discourse forum.

Good news! Unlike outgoing email, which is completely unsuitable for typical consumer mail services like GMail, Outlook, Yahoo Mail, etc, incoming reply via-email tends to be extremely low volume. Unless you have a truly massive forum with a zillion people replying to notification emails, you are probably safe using, say, Gmail.

So here’s how to set it up using GMail as an example.

  1. Create a new GMail account. Assign it a username like [email protected] or in my case, [email protected]. Give it a strong password.

  2. Log in to this account via http://mail.google.com. Accept the terms of service, enter the CAPTCHA, load the default web interface. Maybe send a test email, receive a test email. Kick the tires.

  3. POP3s access is off by default in Gmail, so turn it on via Settings, Forwarding and POP/IMAP:

    All incoming emails will be retained by default – but you can tweak as needed.

  4. Visit the Discourse settings and check the Email tab.

  5. Change the following settings:

    • reply_by_email_address enter replies+%{reply_key}@example.com
    • pop3s_polling_username enter [email protected]
    • pop3s_polling_password enter the password of that email account
    • pop3s_polling_host set to pop.gmail.com
    • pop3s_polling_enabled set to true
    • reply_by_email_enabled set to true

There is a certain amount of polling that goes on for this account, but we’ve set it to a low, safe volume – you can configure the polling intervial via the pop3 polling period setting.

We do assume that your email service supports plus addressing aka address tags, so check that before starting. GMail obviously does.

If everything is working, you should see the footer of all notification mails now tell you that you can reply either by visiting the website, or replying via email:

To respond, reply to this email or visit {topic URL} in your browser.

If things aren’t working, check the /logs path on your Discourse in your web browser and look for email related error messages.

Note: we have seen difficulties when signing up for a GMail account from a different country than your server is located in. For example, if you create the Gmail account from the UK, but the server is in the USA.

Source: https://meta.discourse.org/t/set-up-reply-via-email-support/14003

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