将 gmail 与 PHPMailer 一起使用是愚蠢的吗?
很快我将启动我的新网站,我计划使用 gmail 作为电子邮件服务器来处理注册和丢失密码等问题。
我将使用 Google Apps(免费版),这样我就可以[电子邮件受保护]< /a>.
除了每天 500 封的限制之外,使用 Gmail 提供此服务是否还有其他潜在问题?
Soon I'll be launching my new site and i was planning on using gmail as the email server for things like registration and lost password.
I'll be using google apps (free version) so I can have [email protected].
Besides the 500/day limit are there any other potential problems with using gmail for this service?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我使用 gmail 应用程序 + phpmailer 已有 2 年了,从未遇到过问题(除了您提到的 500 个限制)。
发送电子邮件(根据我的经验)不超过 1-2 秒;只需记住在端口 465 上使用 ssl。
我的电子邮件中没有一封被作为垃圾邮件出售
2 Years im using gmail apps + phpmailer, never had a problem (except the 500 limit as you mentioned).
Emails take (on my experience) not more than 1-2 seconds to be sent; Just remember to use ssl on port 465.
And noone of my emails is been market as a SPAM
是的,SSL 连接速度慢得要命。发送一封电子邮件大约需要 10 秒。我使用 Google Apps,但我只是偶尔发送新用户和忘记密码电子邮件,所以情况还不错。
Yes, SSL connections are slow as hell. Sending one email takes ~10 seconds. I use Google Apps, but I only send out the occasional New User and Forgot Password emails, so it's not that bad.
使用谷歌应用程序引擎而不是通过 gmail 发送邮件
我没有将 gmail 与 PHPMailer 一起使用过,但我不认为这是愚蠢的。但如果您问我,您最好使用 Google App Engine 发送电子邮件。我意识到这不是一个 php 解决方案,但我认为要实现您想要的目标,谷歌应用程序引擎文档将适合您的要求。这样你就不会受到硬性限制,并且可以很好地扩展。
了解将应用程序部署到 Google 应用引擎的基础知识
还有一点来自 Slatkin 的 YouTube 视频(<10 分钟),用于了解将应用部署到 Google App 引擎的基础知识。当我看到这个视频时,我被 App Engine 和 Python 的力量所吸引。
通过 Python 的应用程序引擎 SDK 发送电子邮件
在这里您将找到我直接从文档中复制的一个小片段。
Using google app engine instead of sending mail via gmail
I haven't used gmail with PHPMailer, but I don't think it is foolish. But if you ask me you are better of using google app engine to send emails. I realize this isn't a php solution, but I think to achieve what you want the google app engine documentation will fit your bill. That way you don't have the hard limit enforced on you and it scales very well.
Learn basics of deploying an application to google app engine
Also a little youtube video from Slatkin(<10 minutes) to learn the basics of deploying a app to Google App engine. When I saw this video I was sold to the power of app engine and python.
Send email via Python's app engine SDK
Here you will find a little snippet which I directly copied from there documentation.
当然。我们通过 Gmail / Google Apps 服务发送,它对我们来说效果很好。
Sure. We send through Gmail / Google Apps service and it has worked fine for us.