---
title: "Important: A notification mail that cannot be sent no longer fails the form"
manual: "Academic Jobs"
version: "main"
permalink: "https://docs.typo3.org/permalink/fgtclb/academic-jobs:important-failing-job-mail-is-logged@main"
source: "Changelog/2.4/Important-FailingJobMailIsLogged.rst"
rendered: "2026-10-12T10:12:12+00:00"
---

# Important: A notification mail that cannot be sent no longer fails the form {#important-failing-job-mail-is-logged}

## Description {#description}

A job submitted through the **Jobs New** content element is saved
before the mail that announces it is sent. When the mail could not be sent, the
error ended the request although the job was saved. The visitor got an error
in place of the form instead of the confirmation, and reloading the page
submitted the form again.

The mail cannot be sent when

-   the recipient or the sender address is empty or invalid. The defaults of
    the constants `plugin.tx_academicjobs.email.recipientEmail` and
    `plugin.tx_academicjobs.email.from` are empty, so a site that
    never set them met the error after every submitted job,
-   the mail transport of the installation refuses the mail or cannot deliver
    it.

In both cases the job stays saved, and the visitor now gets the same redirect
as after a sent mail. Where the site shows the messages of the form, the
visitor sees the warning "Notification email could not be sent" instead of the
success message. The warning existed before, but it almost never showed.

The failure is logged at level error with the uid of the job and the
exception, by the logger of
`\FGTCLB\AcademicJobs\Controller\JobController`. With the default log
configuration of TYPO3 it lands in the log file of the installation, in
`var/log/` of a Composer based installation and in
`typo3temp/var/log/` of a classic one. See
[When the mail cannot be sent](https://docs.typo3.org/permalink/fgtclb/academic-jobs:configuration-general-notification-mail-failure@main).

## Impact {#impact}

-   A visitor who got an error before now gets the confirmation redirect, and
    nobody gets a mail about the job. Check the log after changing the
    mail configuration of a site.
-   Any other error while the mail is built or sent still ends the request, as
    before, because it points to a defect a log entry would hide.
-   With a spool, the mail is only queued. A transport that fails later, when
    the queue is sent, is not reported by this extension, and the visitor has
    already seen the success message.
-   Behaviour is identical on TYPO3 v12 and v13.

## Affected Installations {#affected-installations}

Every installation rendering the **Jobs New** plugin, in particular
one whose mail addresses are not configured.
