如何在 TYPO3 中配置两个邮件服务器(故障转移)
Howto configure two mail servers (failover) in TYPO3
如 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中使用和配置此功能?如果是,怎么做?
Symfony 邮件程序的 TLS Peer Verification
(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:pass@smtp.example.com?verify_peer=0';
这两项功能目前在 TYPO3 中均不可用。你能在 https://forge.typo3.org/projects/typo3cms-core/issues 上创建 2 个问题吗?
当然可以通过例如XCLASS 或者可能有一个事件可以通过扩展添加这样的东西。
如 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中使用和配置此功能?如果是,怎么做?
Symfony 邮件程序的 TLS Peer Verification
(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:pass@smtp.example.com?verify_peer=0';
这两项功能目前在 TYPO3 中均不可用。你能在 https://forge.typo3.org/projects/typo3cms-core/issues 上创建 2 个问题吗?
当然可以通过例如XCLASS 或者可能有一个事件可以通过扩展添加这样的东西。