Issue Bug Closed

#96063custom Backend Login Logo within fileadmin breaks MAIL functionality

Robert Breithuber 11/23/21, 22:39 updated 12/02/25, 14:33

Description

affected TYPO3 Version: 11.5.3

how to reproduce:

1) Extension Configuration -> Backend -> Login -> Logo:
set this value to a fileadmin-path, e.g. fileadmin/images/login-logo.png

2) Test Mail Setup:

fails with message:

Could not deliver mail Please verify $GLOBALS[‘TYPO3_CONF_VARS’][‘MAIL’][*] settings are valid. Error message: Resource paths must start with “EXT:”

Setting a path via EXT:my_theme/… works for mail but the image is not shown at the login from

changing the value to //domain/fileadmin/images/login-logo.png works for both, mail and login form.

Reviews 2

History 21117

Show 1992 earlier messages
  1. Robert Breithuber changed subject custom Backend Login Logo within fileadmin breaks MAIL functionallity custom Backend Login Logo within fileadmin breaks MAIL functionality <span data-processor="relativetime" data-value="2021-11-26T17:36:31+00:00" > 11/26/21, 17:36 </span>

  2. Thomas Anders commented <span data-processor="relativetime" data-value="2022-04-29T06:43:41+00:00" > 04/29/22, 06:43 </span>

    I can confirm this issue in 11.5.9

    # breaks testmail functionality
    /fileadmin/.../logo.svg
    fileadmin/.../logo.svg
    
    # working
    EXT:myext/Resources/Public/Images/logo.svg
  3. Thomas Sam Wittich commented <span data-processor="relativetime" data-value="2022-06-08T13:43:26+00:00" > 06/08/22, 13:43 </span>

    Hi guys,

    additional info:

    I tried to set the login-log relative to the extension’s path, so it begins with EXT:

    EXT:bs_template/../../../fileadmin/Logo.png

    The outcome of it is the similar to the error described in this issue, but different:

    Could not deliver mail
    Please verify $GLOBALS['TYPO3_CONF_VARS']['MAIL'][*] settings are valid. Error message: "EXT:bs_template/../../../fileadmin/Logo.png" is expected to be in public directory, but is not

    I had been glad to find this issue to solve my problem with testing mail setup until i found it throws another error.

    Thank you considering to fix this bug. (used Typo3-Version 11.5.10)

    Thomas

  4. Thomas Sam Wittich commented <span data-processor="relativetime" data-value="2022-06-08T14:04:07+00:00" > 06/08/22, 14:04 </span>

    Hi guys,

    i moved the Logo to the path EXT:bs_template/Resources/Public/…
    So, that works.
    Further, would still be great to have it fixed since

    • the describtion for the backend logo settings explizitly has an example for /fileadmin/…
    • the error message in the test mail setup function is totally misleading

    Thank you, Thomas

  5. Peter Linzenkirchner commented <span data-processor="relativetime" data-value="2024-11-19T10:12:08+00:00" > 11/19/24, 10:12 </span>

    I can confirm this problem for TYPO3 12.4 and php 8.3

  1. Helmut Hummel commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-10-25T19:35:10+00:00" > 10/25/25, 19:35 </span>

    Applied in changeset commit:5d637429cff45078d813436dd289aab6dd24a91b.