# Discourse 为什不建议使用 Gmail 的 SMTP

**URL:** <https://www.isharkfly.com/t/discourse-gmail-smtp/14223>\
**Category:** Discourse\
**Tags:** discourse\
**Created:** [November 30, 2022, 12:48pm UTC](https://www.isharkfly.com/t/discourse-gmail-smtp/14223 "2022-11-30T12:48:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [November 30, 2022, 12:48pm UTC](https://www.isharkfly.com/t/discourse-gmail-smtp/14223/1 "2022-11-30T12:48:32Z")

</div>

最开始我们也用了 Gmail 的 SMTP 服务。

这里有个问题是 Gmail 的日发送邮件限制，很多人可能认为 Gmail 是没有日常发送邮件限制的，通常不是这样的，因为如果你是手工回复和发送邮件的话，这个限制还是很难达到的。

如果是计算机或者网站使用 Gmail 的 SMTP 的话，简单几个执行就会超过这个限制，测试下 SMTP 没有什么问题，但是真正运营的话，很快邮件就发不出去了。

根据 Gmail 的官方文档：[Gmail sending limits in Google Workspace - Google Workspace Admin Help](https://support.google.com/a/answer/166852?hl=en) Gmail 是有日常发送邮件限制的。

![](https://www.isharkfly.com/images/transparent.png)  
通常在几千不等，如果论坛服务器发送邮件数量超过这个数量的话就不一定能够发送出去了。

一般来说比较大的邮件发送，可能会考虑用 Gmail 的 API，但 Gmail 的 API 实在不是那么好用：[Sending Email &nbsp;|&nbsp; Gmail &nbsp;|&nbsp; Google for Developers](https://developers.google.com/gmail/api/guides/sending)

为了图省事，并且还有邮件发送分析功能，个人感觉使用 MailGun 或者其他第三方的服务要稳定不少。
