# 通知

### Gmail的

Gmail可以用於通知中。如果您為帳戶啟用了二階段驗證，則必須創建[應用密碼](https://myaccount.google.com/apppasswords)

```
SMTP Server: smtp.gmail.com
SMTP Port: 587
SSL/TLS: Yes
Sender email: rootthe@gmail.com (include domain)
Authentication: Yes
Username: rootthe@gmail.com (include domain)
Password: <the app password here>
Primary email: rootthe@gmail.com
Secondary email: optional
```

![](https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-Lpf4rhhfH5wiByZ9Izm%2F-Lpf4sjrb3EvyHaTqE35%2Fimage.png?alt=media\&token=8b75ecb3-d574-4301-8cc1-68feef7134cb)

![](https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-Lpf4rhhfH5wiByZ9Izm%2F-Lpf57BLu6j4x60bFKR-%2Fimage.png?alt=media\&token=ba1f1ad7-1d66-4f4a-9775-223b4c75a7f8)

![](https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-Lpf5S3_jDN8dhHq0Ktx%2F-Lpf5U8URjCIbh6M2T8d%2Fimage.png?alt=media\&token=50948f10-b698-4431-a04d-0d4cf6933fbe)

![](https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-LpfDP4TgBQ0C3EsViYU%2F-LpfDQdC1kD6bIy_-Jto%2Fimage.png?alt=media\&token=6e0e99ac-7b89-430c-abc0-e9e01b17afe9)

信件寄不出去的可能問題(DNS的問題)

837B8E008A0 424 Thu Oct 3 08:08:13 <kawsing@gmail.com> (Host or domain name not found. Name service error for name=smtp.gmail.com type=MX: Host not found, try again) <kawsing@gmail.com>

\-- 7 Kbytes in 18 Requests. root\@omvNAS1:/etc/postfix# ping tw\.yahoo.com ping: tw\.yahoo.com: 解析名稱時發生暫時性的錯誤
