Configuración del correo electrónico entrante para crear nuevos temas o mensajes de grupo

:bookmark: このガイドでは、Discourse で新しいトピックやグループメッセージを作成するためにメールを受信する方法について、サイト設定およびカテゴリまたはグループ固有の設定の構成方法を含めて説明します。

:person_raising_hand: 必要なユーザーレベル: 管理者

このガイドで説明する内容:

  • 受信メールの有効化と構成
  • 受信メールのカテゴリとグループの選択
  • グループの受信メールの設定
  • カテゴリの受信メールの設定
  • 転送されたメールの処理方法の決定

:information_source: すでにメールによる返信を設定している場合、または受信メールがプリコンフィギュレーションされているホスティングプランを利用している場合は、メールによる新規トピックの開始を設定する準備が整いました。

サイト設定の構成

受信メールを有効にするには、3つの主要なサイト設定を構成する必要があります。

  1. email_in: 受信メールを機能させるには、この設定を有効にする必要があります。
  2. email_in_allowed_groups: Discourse にメールを送信するには、ユーザーがこのリスト内のグループのいずれかに属している必要があります。デフォルトでは、管理者、モデレーター、およびトラストレベル2のユーザーが含まれます。
  3. enable_staged_users: この設定により、不明なメールアドレスのステージングユーザーの作成が可能になります。

:warning: Discourseホストサイトの場合、悪用を防ぐためにトライアル期間中は enable_staged_users 設定が無効になり非表示になります。サブスクリプションが開始されると、設定は非表示でなくなります。トライアル中に有効にするよう依頼するには、team@discourse.org に連絡してください。

これらの設定を構成するには:

  1. サイトの管理者パネルに移動します
  2. 設定に移動します
  3. 各設定を検索し、必要に応じて構成します

:information_source: ステージングユーザーは、誰からの受信メールをサポートするためにDiscourseで作成される特別なユーザーアカウントです。機能は限定されています。

  • メンションしたり検索したりすることはできません
  • ダイジェストは受信しません
  • 開始したトピックや招待されたトピックについてのみ通知を受け取り、返信できます
  • 同じメールアドレスを使用してアカウントを作成した場合、通常のユーザーに昇格されます

カテゴリとグループの選択

受信メールでトピックをカテゴリに作成するか、グループにメッセージを作成するかを決定します。

グループの使用

グループを使用する利点:

  • サポートのようなワークフローの設定に役立ちます
  • すべてのグループメンバーに送信されたメッセージを作成します
  • メッセージは /my/messages に表示されます
  • 誰でもグループにメールを送信できます
  • 各グループメンバーはメッセージの読み取り、返信、削除、またはアーカイブができます
  • 各グループメンバーは独自の既読追跡状態を持っています

カテゴリの使用

カテゴリを使用する利点:

  • メーリングリストをシミュレートします
  • 指定されたカテゴリ内にトピックを作成します
  • カテゴリにアクセス権を持つすべてのユーザーは、Webインターフェイスまたはメール経由で読み取りおよび返信ができます
  • カテゴリのセキュリティ設定が尊重されます
  • サイト設定 email_in_allowed_groups が尊重されます
  • カテゴリごとにステージングユーザーを無効にできます

グループの受信メールの設定

グループの受信メールを構成するには:

  1. メインメニューからグループページに移動します

  2. グループ名をクリックします(または新しいグループを作成します)

  3. 新しいグループの場合、「カスタム受信メールアドレス」フィールドをフォームの下部に見つけます

  4. 既存のグループの場合、「管理」タブに移動し、左側のメニューで「インタラクション」をクリックします

  5. グループに関連付けるメールアドレスを入力します(複数のアドレスは | で区切ります)

  6. 変更を適用するには、「保存」をクリックします

:warning: Discourseホストサイトの場合、「次のメールアドレスへの受信メールを許可する:」ボックスにチェックを入れ、カスタムメールをこのアドレスに転送して適切に機能させます。

カテゴリの受信メールの設定

カテゴリの受信メールを構成するには:

  1. カテゴリページに移動します(例: /c/トピックカテゴリースラッグ

  2. :wrench: レンチボタンをクリックしてカテゴリを編集します
    Edit category button

  3. カテゴリの編集ページで、「設定」タブをクリックします

  4. 「アカウントのない匿名ユーザーからのメールを許可する」と「カスタム受信メールアドレス」のフィールドを探します

  5. 不明なメールアドレスのステージングユーザーを作成する場合は、「アカウントのない匿名ユーザーからのメールを許可する」を有効にします

  6. カテゴリに関連付けるメールアドレスを入力します

  7. 変更を適用するには、「カテゴリを保存」をクリックします

:warning: Discourseホストサイトの場合、「次のメールアドレスへの受信メールを許可する:」ボックスにチェックを入れ、カスタムメールをこのアドレスに転送して適切に機能させます。

転送されたメールの動作

forwarded_emails_behaviour サイト設定を使用して、転送されたメールがDiscourseでどのように表示されるかを決定できます。この設定には次のオプションがあります。

  • hide - 新しいトピックまたはプライベートメッセージは、転送されたテキストが非表示のテキストとして含まれた状態で作成され、展開して表示できます
  • quote - 新しいトピックまたはプライベートメッセージは、転送されたテキストが引用テキストとして含まれた状態で作成されます。
  • create replies - 新しいトピックまたはプライベートメッセージは、元の送信者によって作成されます。返信は、メールの参加者によって作成されます。送信者メールアドレスと一致するユーザーアカウントがまだ存在しない場合、それらはステージングユーザーアカウントとして作成されます。

追加リソース

50 Me gusta
Understanding email in functionality
Troubleshoot reply by email
Good use cases for groups (to better understand groups vs categories)
Post without signup?
Setting an incoming e-mail address for the staff group
How to configure group email address
When site require approvals for users, email replies do not get sent to staged users
Start Topic via E-Mail with different domain
Receiving emails into Discourse messages. Can this be done?
Good guide on how to use discourse via email
How do I set up group email addresses?
Creating a staged user with an API call
Use Discourse as a Private Support/Ticket System
Using discourse to manage support emails: receive and reply
Configuring alternative incoming email address for hosted account
Start Discourse by Mail
New group PM from email
How to create topics from a custom email address?
Utilising email support for reporting from grafana
Category configuration option : mirrors a mailing list
Discourse will not accept forwarded email but successfully sends and an error message to the original sender?
Changing email subject line should start a new topic
Can Discourse accept attachments when using emails to create new category topics?
Implementing KCS
Use aliases in iRedMail for categories with incoming email feature enabled
What is the "Custom incoming email address"?
Can I start a new topic by sending an email message?
Trying to setup direct delivery of incoming email and new topic by email
Setting up a support inbox
Canonical doc on using discourse via email for end-users?
"Email in allowed groups" setting is too permissive
Error adding a backup email address: address already in use by a staged user
Find the reply key for a specific topic. Rails console magic?
Allowing email from a stranger because I trust them. How?
Can’t set email-in for existing group?
Query about creating topics in a category using email
What exact email address do I use for “Custom Incoming email address”?
Contact Form
How to configure Discourse to receive email from Mailgun?
Can an admin create a staged user?
Simple sensor-driven notifications in Discourse via Webhooks or MQTT?
Configuring Incoming Email to Create Category Topics or Group Messages
Configuring Incoming Email to Create Category Topics or Group Messages
Preferred communication channel for accessibility for blind readers?
Category configuration option : mirrors a mailing list
[PAID] Auto create new topic when I publish a video on YouTube
Who is Discobot?
Configuring incoming email to create new topics with email forwarding?
Comparing Discourse for Teams with Discourse
Anonymous form that creates a topic
How to go about hosting a design contest?
Can I start a new topic by sending an email message?
Can I start a new topic by sending an email message?
Can’t set email-in for existing group?
Can’t set email-in for existing group?
Discourse 1.9.0.beta15 Release Notes
Registering unregistered users on first email a la mailman?
Private support categories: staged users can email in, but not registered users
Use Discourse as a Private Support/Ticket System
Creating a topic via email without write access to the category?
What is a staged user?