Deprecation: #88850 - ContentObjectRenderer::sendNotifyEmail

See Issue #88850


The method ContentObjectRenderer::sendNotifyEmail which has been used to send mails has been marked as deprecated.


Using this method will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

Any 3rd party extension calling ContentObjectRenderer::sendNotifyEmail is affected.


To send a mail, use the MailMessage -API

$email = GeneralUtility::makeInstance(MailMessage::class)
     ->to(new Address('john@domain.tld'), new NamedAddress('john@domain.tld', 'John Doe'))
     ->subject('This is an example email')
     ->text('This is the plain-text variant')
     ->html('<h4>Hello John.</h4><p>Enjoy a HTML-readable email. <marquee>We love TYPO3</marquee>.</p>');