Drupal 7 中 SMTP 身份验证支持内的 SMTP 服务器错误

SMTP server error inside SMTP Authentication Support in Drupal 7

我正在使用 Drupal 7 中的 SMTP 身份验证支持来发送邮件。我在我的看门狗日志中收到了一些邮件 ID 的消息。 "Error sending e-mail from example@example.com to recp@example.com : StartTLS not supported by server or could not initiate session.

此错误背后可能的问题是什么?我该如何解决?

它已经告诉您不支持 StartTLS,请致电您的主机并让他们将其打开。但我猜他们不会。您可以使用 PHPMailer 发送电子邮件,不要忘记 $mail->SMTPAuth = true;