繁体   English   中英

TYPO3 10 Form Finisher 发送两封电子邮件

[英]TYPO3 10 Form finisher sends out two emails


我的 TYPO3 10.4.17 站点上所有使用电子邮件完成程序的表单都有一个奇怪的问题。 整理器每次向每个收件人发送两封相同的电子邮件。 有谁知道我如何摆脱第二条消息?

谢谢!

fileadmin/form_definitions/testform.form.yaml

 renderingOptions: submitButtonLabel: Absenden type: Form identifier: testform label: Testform prototypeName: standard finishers: - options: subject: Testform recipients: [my email address]: '' senderAddress: noreply@[...] senderName: '' addHtmlPart: true attachUploads: true translation: language: Standard useFluidEmail: false title: '' identifier: EmailToReceiver renderables: - renderingOptions: previousButtonLabel: 'Vorherige Seite' nextButtonLabel: 'Nächster Schritt' type: Page identifier: page-1 label: Step renderables: - defaultValue: '' type: Textarea identifier: textarea-1 label: Textfeld

第一条消息:

 Return-Path: <noreply@[removed]> X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on [removed] X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,BAYES_00, HTML_MESSAGE autolearn=ham autolearn_force=no version=3.4.2 X-Original-To: [removed] Delivered-To: [removed] Received: from [127.0.0.1] [removed] by [removed] (Postfix) with ESMTPSA id A1C5915A145C for [removed]; Thu, 17 Jun 2021 13:24:59 +0200 (CEST) From: noreply@[removed] To: [removed] Subject: Testform X-Mailer: TYPO3 Message-ID: <22d072eef5791cebf35ebcecee59ba0f@[removed]> MIME-Version: 1.0 Date: Thu, 17 Jun 2021 13:24:59 +0200 Content-Type: multipart/alternative; boundary=p-G2S-8S --p-G2S-8S Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Textfeld: Test Inhalt --p-G2S-8S Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://w= ww.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> = <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8">= <meta name=3D"format-detection" content=3D"telephone=3Dno"> </head= > <body> <table width=3D"600" cellpadding=3D"0" cellspacing=3D"0" b= order=3D"0"> =20 <tr> =20 = <td width=3D"600" valign=3D"top" align=3D"left">Textfeld</td>= <td width=3D"600" valign=3D"top" align=3D"left">= =20 =20 = <table cellspacing=3D"0" border= =3D"0"> <tr> = <td>Test Inhalt</td> = </tr> = </table> =20 = =20 </td> = =20 </tr> =20 </table> </body> </html> --p-G2S-8S--

第二条消息:

 Return-Path: <noreply@[removed]> X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on [removed] X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,BAYES_00, HTML_MESSAGE autolearn=ham autolearn_force=no version=3.4.2 X-Original-To: [removed] Delivered-To: [removed] Received: from [127.0.0.1] [removed] by [removed] (Postfix) with ESMTPSA id 18ACB15A1492 for [removed]; Thu, 17 Jun 2021 13:25:00 +0200 (CEST) From: noreply@[removed] To: [removed] Subject: Testform X-Mailer: TYPO3 Message-ID: <af16ae610105ae22a01ae6b0718f2cba@[removed]> MIME-Version: 1.0 Date: Thu, 17 Jun 2021 13:25:00 +0200 Content-Type: multipart/alternative; boundary=w50f9lfA --w50f9lfA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Textfeld: Test Inhalt --w50f9lfA Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://w= ww.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> = <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8">= <meta name=3D"format-detection" content=3D"telephone=3Dno"> </head= > <body> <table width=3D"600" cellpadding=3D"0" cellspacing=3D"0" b= order=3D"0"> =20 <tr> =20 = <td width=3D"600" valign=3D"top" align=3D"left">Textfeld</td>= <td width=3D"600" valign=3D"top" align=3D"left">= =20 =20 = <table cellspacing=3D"0" border= =3D"0"> <tr> = <td>Test Inhalt</td> = </tr> = </table> =20 = =20 </td> = =20 </tr> =20 </table> </body> </html> --w50f9lfA--

解决方案:我已经渲染了内容

<f:format.raw>{CONTENT}</f:format.raw>

前。 这导致了带有邮件完成程序的表单的描述行为。 如果内容是用

<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{colPos: '0'}" />

一切安好。 有关更多详细信息,请参阅https://docs.typo3.org/c/typo3/cms-fluid-styled-content/master/en-us/Installation/InsertingContentPageTemplate/Index.html

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM