You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Hasan Hasan (Jira)" <ji...@apache.org> on 2022/02/08 18:21:00 UTC
[jira] [Closed] (CLEREZZA-228) Cleanup platform.mail
[ https://issues.apache.org/jira/browse/CLEREZZA-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hasan Hasan closed CLEREZZA-228.
--------------------------------
Resolution: Won't Do
> Cleanup platform.mail
> ---------------------
>
> Key: CLEREZZA-228
> URL: https://issues.apache.org/jira/browse/CLEREZZA-228
> Project: Clerezza
> Issue Type: Improvement
> Reporter: Reto Gmür
> Priority: Major
>
> * Only methods related to typerendering and/or platform users should stay
> * Its unclear how this permission work, why an action is needed and what the public field SEND_MAIL is for (no documentation). Analysing the code I understand:
> SEND_FROM: needed to send an email from and to a user of the same clerezza-instance using an email address associated to a user mentioned by username in the target of the permission
> SEND_MAIL: permission to send emails from any address and to any address
> ->I'd suggest to permit only sending user as the currently logged in user and to distinguish between the permission to send to anybody or just to other registered users.
> * The methods takes a list of media-types but uses only one of them, I don't see the need of giving a choice to the implementation but I think it would be useful to be able to produce multi-part messages (like text and html)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)