如 Symfony Docs 中所述可以为邮件服务器添加故障转移配置:
Symfony's mailer supports high availability via a technique called "failover" to ensure that emails are sent even if one mailer server fails.
A failover transport is configured with two or more transports and the failover keyword:
MAILER_DSN="failover(postmark+api://ID@default sendgrid+smtp://KEY@default)"
The failover-transport starts using the first transport and if it fails, it will retry the same delivery with the next transports until one of them succeeds (or until all of them fail).
是否可以在 TYPO3 中使用和配置此功能?如果是这样,怎么办?
是否可以进行其他配置,如TLS Peer Verification
Symfony 邮件程序的 ( Symfony Docs ) 在 TYPO3 中配置?
By default, SMTP transports perform TLS peer verification. This behavior is configurable with the verify_peer option. Although it's not recommended to disable this verification for security reasons, it can be useful while developing the application or when using a self-signed certificate:
$dsn = 'smtp://user:<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4d3d2c3e3e0d3e20393d6328352c203d2128632e2220" rel="noreferrer noopener nofollow">[email protected]</a>?verify_peer=0';
最佳答案
这两个功能目前在 TYPO3 中无法作为配置使用。您可以在 https://forge.typo3.org/projects/typo3cms-core/issues 创建 2 个问题吗? ?
当然可以通过例如XCLASS 或者也许有一个事件可以通过扩展添加此类内容。
关于typo3 - 如何在 TYPO3 中配置两个邮件服务器(故障转移),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70019331/