Confluence 4.1 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
Set up a mail session for the Confluence distribution to use Gmail as follows:
- Confluence を停止します。
- Move (don't copy) activation-1.0.2.jar and mail-1.4.1.jar from <confluence-install>/confluence/WEB-INF/lib to <confluence-install>/lib.
Add the following to your server.xml file found in <confluence-install>/conf/ (add it just before the </Context> tag):
For Confluence 3.5.x<Resource name="mail/GmailSMTPServer" auth="Container" type="javax.mail.Session" mail.smtp.host="smtp.gmail.com" mail.smtp.port="465" mail.smtp.auth="true" mail.smtp.user="yourEmailAddress@gmail.com" password="yourPassword" mail.smtp.starttls.enable="true" mail.transport.protocol="smtps" mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory" />- Confluence を再起動します。
- Go to Browse > Confluence Admin and click on Mail Servers. Choose either Edit an existing configuration, or Add a new SMTP mail server.
Edit the server settings as necessary, and set the JNDI Location as:
java:comp/env/mail/GmailSMTPServer
JNDI の場所は、大文字と小文字を区別し、server.xml に指定したリソース名と一致する必要があることに注意してください。- Submit, and send a test email.
概要
コンテンツ ツール
アプリ
