我如何配置我的 apache 以启用 php 发送电子邮件?

发布于 2024-10-09 02:40:02 字数 109 浏览 0 评论 0原文

也许是一个愚蠢的问题...但我需要配置我的 apache+php 通过 PHP 发送电子邮件?我必须为其设置一个域?域必须通过 DNS 配置吗?

这里有灯吗^^

TIA。

Maybe is a stupid question... but i need to configure my apache+php to send emails via PHP? i have to set a domain to it? the domain has to be configured via DNS?

any lights here please ^^

TIA.

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

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

发布评论

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

评论(1

烦人精 2024-10-16 02:40:02

查看您的 phpinfo() 并查看您的 sendmail 路径是什么。尝试使用该路径指向的任何内容从命令行发送邮件。如果它不起作用,您需要从那里开始。

Look in your phpinfo() and see what your sendmail path is. Try sending mail from the command line using whatever that path points to. If it doesn't work, you need to start there.

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