How do I get the email notifications to work? When I send a message from the admin Account > upon sharing a file, it will send the email through the plugin to the user i’ve shared files with.
the above script you pasted is not related to the file-sharing you looking for, And file sharing is working and also email is being sent to the receiver, I have just sent the file via sharing. Please check your email settings on your site.