Commit 31a4dd56 authored by Kevin von Spiczak's avatar Kevin von Spiczak
Browse files

[TASK] remove ignoreMailQueue field & check

always ignore mail queue
parent d691d79b
......@@ -110,8 +110,7 @@ class FormsFinisher extends AbstractFinisher {
MailTemplateService::class, $templateName, $extensionKey, $markers, $markerLabels
);
$ignoreMailQueue = (boolean) $this->parseOption('ignoreMailQueue');
$mailTemplateService->setIgnoreMailQueue($ignoreMailQueue);
$mailTemplateService->setIgnoreMailQueue(TRUE);
$mailTemplateService->setLanguage($GLOBALS['TSFE']->config['config']['language']);
$mailToAddresses = trim((string) $this->parseOption('mailTo'));
......
......@@ -16,7 +16,6 @@ TYPO3:
predefinedDefaults:
options:
template: ''
ignoreMailQueue: true
mailTo: ''
userName: ''
replyTo: ''
......@@ -30,7 +29,6 @@ TYPO3:
predefinedDefaults:
options:
template: ''
ignoreMailQueue: true
mailTo: ''
mailFrom: ''
userName: ''
......@@ -65,11 +63,6 @@ TYPO3:
templateName: 'Inspector-TextEditor'
label: 'formEditor.elements.Form.editor.finishers.mailToSender.editor.template.label'
propertyPath: 'options.template'
127:
identifier: 'ignoreMailQueue'
templateName: 'Inspector-CheckboxEditor'
label: 'formEditor.elements.Form.editor.finishers.mailToSender.editor.ignoreMailQueue.label'
propertyPath: 'options.ignoreMailQueue'
130:
identifier: 'mailTo'
templateName: 'Inspector-TextEditor'
......@@ -131,11 +124,6 @@ TYPO3:
templateName: 'Inspector-TextEditor'
label: 'formEditor.elements.Form.editor.finishers.mailToReceiver.editor.template.label'
propertyPath: 'options.template'
127:
identifier: 'ignoreMailQueue'
templateName: 'Inspector-CheckboxEditor'
label: 'formEditor.elements.Form.editor.finishers.mailToReceiver.editor.ignoreMailQueue.label'
propertyPath: 'options.ignoreMailQueue'
130:
identifier: 'mailTo'
templateName: 'Inspector-TextEditor'
......
......@@ -11,9 +11,6 @@
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToSender.editor.template.label" resname="formEditor.elements.Form.editor.finishers.mailToSender.editor.template.label" xml:space="preserve">
<source>Unique Template name (used to identify the mail template)</source>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToSender.editor.ignoreMailQueue.label" resname="formEditor.elements.Form.editor.finishers.mailToSender.editor.ignoreMailQueue.label" xml:space="preserve">
<source>If selected, the mails are send immediately, otherwise the mails are added to the Mail Queue. See the Readme of the sg_mail extension for more Information.</source>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToSender.editor.mailTo.label" resname="formEditor.elements.Form.editor.finishers.mailToSender.editor.mailTo.label" xml:space="preserve">
<source>The receiver email address (website user)</source>
......@@ -35,9 +32,6 @@
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.template.label" resname="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.template.label" xml:space="preserve">
<source>Unique Template name (used to identify the mail template)</source>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.ignoreMailQueue.label" resname="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.ignoreMailQueue.label" xml:space="preserve">
<source>If selected, the mails are send immediately, otherwise the mails are added to the Mail Queue. See the Readme of the sg_mail extension for more Information.</source>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.mailTo.label" resname="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.mailTo.label" xml:space="preserve">
<source>The receiver email address (website admin)</source>
......
......@@ -14,10 +14,6 @@
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToSender.editor.template.label" resname="formEditor.elements.Form.editor.finishers.mailToSender.editor.template.label" xml:space="preserve">
<source>Unique Template name (used to identify the mail template)</source>
<target state="translated">Einzigartiger Vorlagen-Name (wird verwendet um die E-Mail Vorlage eindeutig zu identifizieren)</target>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToSender.editor.ignoreMailQueue.label" resname="formEditor.elements.Form.editor.finishers.mailToSender.editor.ignoreMailQueue.label" xml:space="preserve">
<source>If selected, the mails are send immediately, otherwise the mails are added to the Mail Queue. See the Readme of the sg_mail extension for more Information.</source>
<target state="translated">Wenn aktiviert werden die E-Mail's sofort versandt, ansonsten werden sie der Mail Queue hinzugefügt. Für weitere Informationen, siehe die Readme der Erweiterung sg_mail.</target>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToSender.editor.mailTo.label" resname="formEditor.elements.Form.editor.finishers.mailToSender.editor.mailTo.label" xml:space="preserve">
<source>The receiver email address (website user)</source>
......@@ -47,10 +43,6 @@
<source>Unique Template name (used to identify the mail template)</source>
<target state="translated">Einzigartiger Vorlagen-Name (wird verwendet um die E-Mail Vorlage eindeutig zu identifizieren)</target>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.ignoreMailQueue.label" resname="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.ignoreMailQueue.label" xml:space="preserve">
<source>If selected, the mails are send immediately, otherwise the mails are added to the Mail Queue. See the Readme of the sg_mail extension for more Information.</source>
<target state="translated">Wenn aktiviert werden die E-Mail's sofort versandt, ansonsten werden sie der Mail Queue hinzugefügt. Für weitere Informationen, siehe die Readme der Erweiterung sg_mail.</target>
</trans-unit>
<trans-unit id="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.mailTo.label" resname="formEditor.elements.Form.editor.finishers.mailToReceiver.editor.mailTo.label" xml:space="preserve">
<source>The receiver email address (website admin)</source>
<target state="translated">Die Empfänger E-Mail Adresse (Admin der Webseite)</target>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment