TYPO3 EXT:表单整理器 EmailToRecipient 未读取我配置的发件人地址

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

打字3 11

我用助手配置了一个表单。 YAML 文件照常存储在 fileadmin 中。该表单包含名字(标识符“text-1”)、姓氏(标识符“text-2”)和电子邮件(标识符“email-1”)字段。

我添加了整理器“EmailToRecipient”,并输入 {email-1} 作为 SenderAddress,输入 {text-1} 和 {text-2} 作为 SenderName。

通过此设置,我收到错误消息

Sender address rejected: Message rejected due to: SPF fail - not authorized. Sender not authorized

这是可以理解的。因此,我将 SenderAddress 更改为服务器配置使用的默认电子邮件地址。但表格不承认这种变化。它始终采用 {email-1} 作为 SenderAddress。

为什么会这样呢?我在这里缺少什么?

这是 YAML 文件的完成部分:

finishers:
  -
    options:
      subject: '[TYPO3-Server] Here is an email to you'
      recipients:
        [email protected]: 'My Name'
      senderAddress: '[email protected]'
      senderName: 'TYPO3-Server'
      addHtmlPart: true
      attachUploads: false
      translation:
        language: Standard
      useFluidEmail: false
      title: ''
    identifier: EmailToReceiver

我可以调试整理器真正采用的选项。是:

senderAddress => '{email-1}'
senderName => '{text-4} {text-5}'

有什么想法吗?

forms typo3
1个回答
0
投票

您很可能在表单插件中启用了完成器覆盖。在这里您应该找到

{email-1}
作为发件人地址。要么完全禁用整理器覆盖,要么相应地更新此值。

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