Yes, I’ve added this to my config.php to enable debugging:
'mail_smtpdebug' => '4',
This is what the mail configuration section looks like:
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'cloud',
'mail_domain' => '**********.com',
'mail_smtphost' => 'smtp.********.com',
'mail_smtpdebug' => '4',
'mail_smtpport' => '25',
'mail_smtpstreamoptions' =>
array (
'ssl' =>
array (
'allow_self_signed' => true,
'verify_peer' => false,
'verify_peer_name' => false,
),
),
What’s curious is that when I share a file, no message appears in the log, neither error nor success.
However, when I try to re-share the file, the log shows that it can’t be shared because it’s already shared:
{"reqId":"LOl5wEZZ1K2MGFbVj7oV","level":3,"time":"2024-10-24T11:36:32+00:00","remoteAddr":"*******","user":"mb19","app":"files_sharing","method":"POST","url":"/ocs/v2.php/apps/files_sharing/api/v1/shares","message":"No se pudo compartir prueba porque este elemento ya est\u00e1 compartido con la cuenta **********@gmail.com","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)
The English translation would be → “prueba” could not be shared because this item is already shared with the account **********@gmail.com
In any case, the recipient does not receive any mail.