WordPress 表单不发送电子邮件

问题描述 投票:0回答:1

我在使用 Divi 主题构建的 WordPress 网站上遇到联系表单问题。尽管在网站上成功提交了表格,但没有电子邮件发送到我的收件箱。

我已采取措施通过安装 WP Mail SMTP 插件来解决此问题。我的电子邮件是 Google Workspaces 的一部分,直接使用时可以正常运行。我已使用 GoDaddy 技术支持提供的设置配置了 WP Mail SMTP 插件,但电子邮件仍然无法发送。

这是我到目前为止所做的:

确保我在 Google Workspaces 中的电子邮件设置正确。 根据 GoDaddy 的指南,使用凭据和服务器详细信息设置 WP Mail SMTP。 启用不太安全的应用程序并设置插件的应用程序密码。

然而,问题仍然存在(下图)。如果有人有这方面的经验或任何见解,我将非常感谢您的帮助。我已经无计可施,试图让它发挥作用。

提前感谢您的帮助!

每次填写表格时我都会收到这样的消息

WordPress: 6.4.3
WordPress MS: No
PHP: 7.4.33
WP Mail SMTP: 3.11.1

Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server SMTP code: 111 Additional SMTP info: Connection refused
Host: smtp.gmail.com
Port: 465
SMTPSecure: ssl
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)

Server:
OpenSSL: OpenSSL 1.1.1w 11 Sep 2023
Apache.mod_security: No

Debug:
Email Source: WP Mail SMTP
Mailer: Other SMTP
SMTP Error: Could not connect to SMTP host. Failed to connect to serverSMTP server error: Failed to connect to server SMTP code: 111 Additional SMTP info: Connection refused

SMTP Debug:
2024-02-03 00:13:55 Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array()

2024-02-03 00:13:56 Connection failed. Error #2: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Connection refused) [/home/tn5bwp00yzam/public_html/wp-includes/PHPMailer/SMTP.php line 397]

2024-02-03 00:13:56 SMTP ERROR: Failed to connect to server: Connection refused (111)

SMTP Error: Could not connect to SMTP host. Failed to connect to server```


  
wordpress authentication email plugins
1个回答
0
投票

您可以尝试将加密切换为TLS,并将SMTP端口调整为587。

© www.soinside.com 2019 - 2024. All rights reserved.