No mail received after download shared file

Nextcloud version : 26.0.1.1
Operating system and version: Debian GNU/Linux 11. 5.15.61-v8+ (aarch64)
Apache or nginx version: Apache/2.4.56 (Debian)
PHP version : PHP 8.1.18 (cli)

The issue you are facing:

Not receiving a mail after a download was made of a shared file.

Steps to replicate it:

  1. Tick the right boxes (see picture)
  2. Share a file
  3. Download a file

The output of your Nextcloud log in Admin > Logging:

nothing related

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'passwordsalt' => 'deleted',
  'secret' => 'deleted',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    7 => 'nextcloudpi',
    5 => 'nextcloudpi.local',
    8 => 'nextcloudpi.lan',
    3 => 'deleted',
    11 => 'deleted',
    1 => 'deleted',
    14 => 'raspberrypi',
    20 => 'deleted',
  ),
  'datadirectory' => '/media/myDrive/ncdata/data',
  'dbtype' => 'mysql',
  'version' => '26.0.1.1',
  'overwrite.cli.url' => 'deleted',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'deleted',
  'dbpassword' => 'deleted',
  'installed' => true,
  'bulkupload.enabled' => false,
  'default_phone_region' => 'NL',
  'instanceid' => 'deleted',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
    'password' => 'deleted',
  ),
  'tempdirectory' => '/media/myDrive/ncdata/data/tmp',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => 'deleted',
  'mail_domain' => 'deleted',
  'preview_max_x' => '1024',
  'preview_max_y' => '1024',
  'jpeg_quality' => '60',
  'overwriteprotocol' => 'https',
  'maintenance' => false,
  'logfile' => '/media/myDrive/ncdata/data/nextcloud.log',
  'trusted_proxies' => 
  array (
    11 => '127.0.0.1',
    12 => '::1',
    13 => 'deleted',
    14 => 'deleted',
  ),
  'loglevel' => '2',
  'log_type' => 'file',
  'htaccess.RewriteBase' => '/',
  'mail_sendmailmode' => 'smtp',
  'theme' => '',
  'mail_smtphost' => 'smtp.mail.me.com',
  'mail_smtpport' => '587',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'deleted',
  'mail_smtppassword' => 'deleted',
);

The output of your Apache/nginx/system log in /var/log/____:

nothing Related

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

nothing Related

Hi there!

I have set the mail notification to “on” after a shared file is downloaded. Only I don’t receive any mail (or push notification)
I do receive a mail when I send a test mail in Basic Settings.
Anyone experiences the same, and knows maybe how to fix it?

Side question… is it possible to receive an email after succesfull rsync and/or backup?

Thanks for the help in advance!
Grtz Dulox