メールの設定¶
設定ディレクティブ¶
このページは作業中のため、下記の設定ディレクティブの一覧は完全なものではありません。
認証¶
送信に使用するメールサーバが要求する認証法を指定します。
有効な設定:- :login
- :none
(注意: :none に設定する場合、user_name および password は設定してはなりません)
配送方法¶
メールの配送方法の指定です。 :async_smtp は非同期送信を行います。Redmineはメールの送信完了を待たずに次画面に遷移します。
- :smtp
- :async_smtp
email.ymlの設定例¶
認証有り(デフォルト)¶
# Outgoing email settings
production:
delivery_method: :smtp
smtp_settings:
address: smtp.example.net
port: 25
domain: example.net
authentication: :login
user_name: redmine@example.net
password: redmine
development:
delivery_method: :smtp
smtp_settings:
address: 127.0.0.1
port: 25
domain: example.net
authentication: :login
user_name: redmine@example.net
password: redmine
認証無し¶
認証を使用しないSMTPサービスプロバイダを利用する場合の例です。"none"の前にはコロンが必要です。注意してください。
production:
delivery_method: :smtp
smtp_settings:
address: smtp.knology.net
port: 25
domain: cybersprocket.com
authentication: :none