Articles in this section

Setting Up Email Sending: The Mail Task (SMTP Configuration)

Published:
Updated:

Module: Systemadministration → Hintergrundaufgaben (System Administration → Background Tasks)

Audience: Administrators

Required permission: system.background_tasks

Overview

FMWeb sends emails (e.g. HU (statutory vehicle inspection) reminders, lease warnings, reservation confirmations) in two stages:

  1. A daily background service checks, on the configured weekday, which notifications are due and places them into a send queue.
  2. The Mail Task empties this queue at regular intervals and sends the emails via your SMTP server.

This article describes the global SMTP configuration (transport). The content settings — which notifications are sent — are configured separately per client (Mandant); see article 02 – Email settings per client.

Important: Both configurations are required. Without an active Mail Task, all notifications stay in the queue and are never delivered.

Step by step

  1. Open Systemadministration → Hintergrundaufgaben (/applications/backgroundtasks/dashboard).
  2. Switch to the „E-Mail Task" (Email Task) tab.
  3. Fill in the fields:
FieldMeaning
Ist aktiv? (Is active?)Turns sending on/off.
Wartezeit zwischen den Ausführungen (Wait time between runs)Interval in minutes at which the queue is emptied (recommended: 5).
SMTP ServerHostname of your mail server, e.g. smtp.ihrefirma.de.
SMTP Benutzer (SMTP user)Login name for the mail server. This address also appears as the sender of the emails.
SMTP Passwort (SMTP password)Password of the SMTP user.
SMTP PortTypical: 587 (STARTTLS) or 465/25 – depending on your mail server.
SSL aktivieren? (Enable SSL?)Encrypted connection to the mail server (recommended).
Domäne (nur für Exchange) (Domain (Exchange only))Only fill this in if your Exchange server requires a domain for login.
Mandanten-Auswahl (Client selection)Select every client whose emails should be sent. Clients that are not selected stay in the queue!
  1. Click Speichern (Save).

How it works & notes

  • The sender address of the emails that are sent is the SMTP Benutzer (SMTP user). The sender chosen under „E-Mail Einstellungen" (Email Settings) — the fleet manager — appears in the template placeholders (signature, contact details), not in the technical sender field.
  • There is currently no „Testmail senden" (Send test mail) button. After setup, verify delivery via Protokolle → E-Mail Überwachung (Logs → Email Monitoring) (see article 07 – Email troubleshooting).
  • Failed send attempts are marked with the status „Fehlgeschlagen" (Failed) and logged in the Logs tab of Hintergrundaufgaben (Background Tasks).

Common problems

SymptomCause / Solution
No email arrives„Ist aktiv?" (Is active?) is not set, or the client is missing from the Mandanten-Auswahl (client selection).
Emails land in spamSet up SPF/DKIM for the sender address (SMTP user) at your mail provider.
Authentication errorCheck user/password; for Microsoft 365, enable an app password or SMTP auth if necessary.
Only one client receives mailAdd the other clients to the Mandanten-Auswahl (client selection) and save.

Related articles

AH
Written by Alexander Hagemann
Updated:
Access denied
Access denied