Open AndreeaChi opened 2 years ago
@AndreeaChi in order to send the mail a Mail Server would have to be properly configured. Then the UI should probably be similar to Share Page Application, i.e. using a modal, only that instead of sharing the page it would share some attachments. Having an option to attach the files to the mail or simply link them would be good as sometimes the files can be very large. Note that the users can already use the Share Page by going to the page associated to a file but there are two limitations:
but maybe this is enough?
The need is to attach the file to the mail, so then the share page option is not suitable. Perhaps, if there would be a file size limit a public link to the file could be added, like it happens with Google Drive.
Sometimes there is a need to send a file from the file manager to an email recipient. This action would help to not leave XWiki when wanting to share a file from File Manager to a contact.
The current option is to download the file and then it would be needed to leave XWiki and to share the file through an email client or another method.
The other option would be to share the page containing the file through the "Share by email" option, but that would share a link to the file or the page containing the file and it would not help when the wiki is private and the contact is not a user on the wiki.
Perhaps it could be added as a button like in this image below using the already available silk icon https://yourserver/xwiki/resources/icons/silk/email.png :![image](https://user-images.githubusercontent.com/36840106/160853033-83c5776e-abb0-49e1-9ebd-7373103825c9.png)