Bug #91067

InstallTool Mailtest throws an error when sending mails via SMTP

Added by Benjamin Franzke 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
Start date:
2020-04-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Reported By Martin H. on Slack:
https://typo3.slack.com/archives/C025BQLFA/p1585876034266000?thread_ts=1580632200.389700&cid=C025BQLFA

Sorry for the late response but I again tested my Mail Setup and again it throws as error.
TYPO3 v10.3.0 PHP 7.4 = now working SMTP
TYPO3 v9.5.15 PHP 7.4 = working SMTP
Now this is strange since the config is the same beside this:
TYPO3 v10
'transport_smtp_encrypt' => true,
TYPO3 v9
'transport_smtp_encrypt' => 'ssl',
But the rest is the same. The config is autogenerated by the Setting. But this Error occours when trying to use the Mail-Test Tool: (See picture)


Files

typo3_v10.3.0_mail_error.png (162 KB) typo3_v10.3.0_mail_error.png Benjamin Franzke, 2020-04-16 17:51

Related issues

Related to TYPO3 Core - Bug #90295: Sending mails by SMTP throws and exceptionClosedSimon Gilli2020-02-02

Actions
#1

Updated by Benjamin Franzke 8 months ago

  • Related to Bug #90295: Sending mails by SMTP throws and exception added
#2

Updated by Gerrit Code Review 8 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64205

#3

Updated by Benjamin Franzke 8 months ago

Note: This bug does only happen with a custom login logo set in TYPO3_CONF_VARS.EXTENSIONS.backend.loginLogo.
In that case typo3/sysext/core/Resources/Private/Layouts/SystemEmail.html uses the f:image ViewHelper which triggers FileIndexRepository.

This case reveales that we should boot a full container to be able to load arbitrary services and viewhelper from (probably) custom email templates.

#4

Updated by Gerrit Code Review 8 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64205

#5

Updated by Benjamin Franzke 8 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Benni Mack 7 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF