legacy-knowledge-base
公開されました Sep. 10, 2025

Outlookを設定することができない

written-by

Amit Tiwari

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

ステップスフォローズ

1. portal-extです。 詳細設定:

mail.session.mail.smtp.auth=true
mail.session.mail.smtp.starttls.enable=true

2. サーバー管理」-「> Mail」に移動します。

Outgoing SMTP Server: smtp.office365.com
Outgoing Port: 587
Use a Secure Network Connection: Uncheck
Enable StartTLS: Check
Provide the outlook credentials and Save

3. Instance Settings-> Email-> Email Sender に移動し、ステップ 2 で指定したのと同じ outlook アカウントを指定します。

4. 新規ユーザーを作成し、メールの有無を確認します。

期待される動作 パスワード更新時やユーザー作成時などにメールが送信されること。

実際の動作について サーバーログに以下のようなエラーが表示され、メールが送信されない。

2022-03-22 05:49:45.971 ERROR [liferay/mail-1][MailEngine:74] Unable to send message: 451 5.7.3 STARTTLS is required to send mail [BMXPR01CA0009.INDPRD01.PROD.OUTLOOK.COM]_ [Sanitized]
com.sun.mail.smtp.SMTPSendFailedException: 451 5.7.3 STARTTLS is required to send mail [BMXPR01CA0009.INDPRD01.PROD.OUTLOOK.COM]_ [Sanitized]
	at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
	at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
	at com.liferay.petra.mail.MailEngine._send(MailEngine.java:605)
	at com.liferay.petra.mail.MailEngine.send(MailEngine.java:386)
	at com.liferay.petra.mail.MailEngine.send(MailEngine.java:461)
	at com.liferay.mail.messaging.MailMessageListener.doMailMessage(MailMessageListener.java:99)
	at com.liferay.mail.messaging.MailMessageListener.doReceive(MailMessageListener.java:114)
	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
	at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:752)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:664)
	at java.lang.Thread.run(Thread.java:748)

Environment

  • Liferay DXP 7.2

解決策

  • この現象は既知の問題であり、 fixpack dxp-5で修正されています。
  • Liferay DXPへのFix PackとHotfixのインストール では、お客様の環境でのFixpackのインストール方法をご案内しています。
  • この問題に対してHotfixが必要な場合は、パッチの詳細を添付して、Hotfixを要求するサポートチケットを作成してください。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base