如何启用 ssl_module apache

发布于 2024-10-04 22:04:56 字数 166 浏览 1 评论 0原文

我在我的 PC 上使用 WAMP 进行项目,并且需要启用 ssl_module 因为我需要通过 Gmail 的 SSL SMTP 发送电子邮件...

我知道如何启用它(取消注释或使用 WAMP 接口检查/取消选中),但两者都没有我的更改有效...即使我重新启动服务器..

有什么帮助吗?

I'm using WAMP on my PC for a project and I need to enable the ssl_module because I need to send emails through Gmail's SSL SMTP...

I know how to enable it (uncomment or using WAMP interface check/uncheck) but neither of my changes work... even if I restart the server..

Any help?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无畏 2024-10-11 22:04:56

您可能读到 smtp.gmail.com 需要 TLS 或 SSL。
如果您在 Apache 配置中启用 mod_ssl,您的 Web 服务器可以处理 https 请求(即使用 SSL 加密的 http)。但是,要发送电子邮件,您必须使用不同的协议,例如 SMTP 或 IMAP。所以 mod_ssl 没有帮助。
您在这个项目中使用什么编程语言,PHP?然后查看 使用 GMail SMTP 服务器从PHP 页面

Probably you read that smtp.gmail.com requires TLS or SSL.
If you enable mod_ssl in your Apache config, your webserver can handle https requests (that is http with SSL encryption). However to send emails you have to use a different protocol like SMTP or IMAP. So mod_ssl won't help.
What programming language do you use for this project, PHP? Then take a look at Send email using the GMail SMTP server from a PHP page.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文