# 使用 Office365 的 SMTP 吗？

**URL:** https://meta.discourse.org/t/smtp-with-office365/77467
**Category:** Self-hosting
**Tags:** email
**Created:** [2018年一月8日 11:57 UTC](https://meta.discourse.org/t/smtp-with-office365/77467 "2018-01-08T11:57:45Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![SvenC56](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/svenc56/32/132235_2.png) [@SvenC56](https://meta.discourse.org/u/SvenC56)
#### Post date: [2019年二月24日 12:26 UTC](https://meta.discourse.org/t/smtp-with-office365/77467/5 "2019-02-24T12:26:16Z")

</div>

> [@Chopper](#):
>
> True, the final config
> 
> ```plaintext
> DISCOURSE_SMTP_ADDRESS: smtp.office365.com
> DISCOURSE_SMTP_PORT: 587
> DISCOURSE_SMTP_USER_NAME: test@example.fr
> DISCOURSE_SMTP_PASSWORD: password
> DISCOURSE_SMTP_AUTHENTICATION: login
> DISCOURSE_SMTP_ENABLE_START_TLS: true
> 
> ```

Sadly this solution is not working for me (I also tried to escape the password). I tried it with this [SMTP setting problem with Office365 - #5 by ianwhite](https://meta.discourse.org/t/smtp-setting-problem-with-office365/61630/5) one which is working. But not everybody gets E-Mails… 🤔

---

_[View the full topic](https://meta.discourse.org/t/smtp-with-office365/77467)._
