Hi there,
I think its a good idea and here is how you might be able to implement it yourself, until officially its being added by the dev team.
In skins folder, find the template file which populate the area where you want to display the button and add html snippet for unsubscribe button. Also, search in the template the closest roundcube command or php variable and then search in program folder where its being handled or referenced and create new command to retrieve the unsubscribe URL. To learn how to fetch headers refer to:- https://github.com/roundcube/roundcubemail/blob/master/program/actions/mail/...
Good luck.
Zakaria.
On 2022-08-04 06:25, Kian Kasad wrote:
A feature that exists in Gmail that I'd like to see in Roundcube is an "Unsubscribe" button. This button can be used to unsubscribe from mailing lists automatically. It simply uses the "List-Unsubscribe" header which contains a link (usually a mailto) that the recipient can visit (or send an email to) to unsubscribe from the list.
The button would only show if this List-Unsubscribe header is present in the message being viewed. For an example, I've attached a screenshot of Gmail's unsubscribe button. It's to the right of the sender's email address.
If this is a welcome addition, I can try implementing it, but I haven't contributed to Roundcube before so I might not be able to get it right.
Roundcube Development discussion mailing list dev@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/dev