Typo3 测试邮件无法通过安装工具运行

Typo3 test mail not working via install tool

我在 typo3 中发送电子邮件时遇到问题,即如果我以前通过安装工具或通过邮件 API 功能发送测试邮件,我没有收到电子邮件。但是,如果我将直接 PHP 邮件功能添加到服务器的主文件夹,我就会收到电子邮件。有人可以帮我解决这个问题吗?

在安装工具中查看您的配置。
你有一个配置 [MAIL][transport],有多个选项:

mail
    Sends messages by delegating to PHP's internal mail() function. No further settings required. This is the most unreliable option. If you are serious about sending mails, consider using "smtp" or "sendmail".
smtp
    Sends messages over the (standardized) Simple Message Transfer Protocol. It can deal with encryption and authentication. Most flexible option, requires a mail server and configurations in transport_smtp_* settings below. Works the same on Windows, Unix and MacOS.
sendmail
    Sends messages by communicating with a locally installed MTA - such as sendmail. See setting transport_sendmail_command bellow.
mbox
    This doesn't send any mail out, but instead will write every outgoing mail to a file adhering to the RFC 4155 mbox format, which is a simple text file where the mails are concatenated. Useful for debugging the mail sending process and on development machines which cannot send mails to the outside. Configure the file to write to in the 'transport_mbox_file' setting below
<classname>
    Custom class which implements Swift_Transport. The constructor receives all settings from the MAIL section to make it possible to add custom settings.

这些选项(smtp、sendmail、mbox)还有进一步的配置
并且不要忘记邮件服务可能会拒绝不符合某些要求的邮件。