---
title: "Deprecation: #96500 - ContentObjectRenderer->getMailTo"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-96500"
source: "Changelog/12.0/Deprecation-96500-ContentObjectRenderer-getMailTo.rst"
typo3-version: "12.0"
typo3-major: 12
type: "deprecation"
issue: 96500
forge: "https://forge.typo3.org/issues/96500"
tags: ["Frontend", "PHP-API", "FullyScanned", "ext:frontend"]
rendered: "2026-10-01T19:27:47+00:00"
---

# Deprecation: #96500 - ContentObjectRenderer->getMailTo {#deprecation-96500}

See [forge#96500](https://forge.typo3.org/issues/96500)

## Description {#description}

Since [forge#96483](https://forge.typo3.org/issues/96483), the `<f:link.email/>` ViewHelper is directly
using `TypoLink` for the email link generation. As a result, the
`ContentObjectRenderer->getMailTo()` method was only used in
`EmailLinkBuilder`, the central place for building email links
with `TypoLink`.

To stick to the separation of concerns principle, the corresponding
functionality has been moved to `EmailLinkBuilder->processEmailLink()`
and the `ContentObjectRenderer->getMailTo()` method has been
marked as deprecated.

## Impact {#impact}

Calling `ContentObjectRenderer->getMailTo()` will trigger a
PHP `E_USER_DEPRECATED` error. The extension scanner will
find usages as weak match.

## Affected Installations {#affected-installations}

All installations directly calling `ContentObjectRenderer->getMailTo()`
in custom extension code.

## Migration {#migration}

All occurrences in extension code have to be replaced by
`EmailLinkBuilder->processEmailLink()`.
