Lien vers le mod (https://custom.simplemachines.org/mods/index.php?mod=4192)
List-Unsubscribe header
by alexetgus (https://www.simplemachines.org/community/index.php?action=profile;u=363570)
* Updating for SMF 2.0.18 - V1.2 (18/02/2021)
* Updating for SMF 2.0.16 and 2.0.17 - V1.1 (04/01/2020)
This modification (for SMF 2.0.15 to 2.0.18) adds a header "List-Unsubscribe" to the e-mails sent by SMF.
This header is the unsubscribe link of a topic for notifications, if exist is. Else, it's a link to the email of the webmaster.
This header is essential to comply with the rules of good email delivery practices.
NOTE: No adjustment necessary, install and that's all!
Tested on a fresh SMF installation.
(https://i.imgur.com/5e2qvzE.png)
No link to unsubscribe (MP, new registration, ...)(https://i.imgur.com/8MzVi2I.png)
With an unsubscribe link (new subject or new response).(https://i.imgur.com/xidrSlW.png)
(https://i.imgur.com/DM93QfE.png)
This link also works in text format newsletters. It must appear alone on a line, with the keyword "
notify".
Examples :For unsusbscribe this newsletter, click to the link :
http://mysite.tld/notify/page.phpOR
For unsusbscribe this newsletter, click to the link :
http://mysite.tld/?notify=xxxxhttps://chez-oim.org (https://chez-oim.org) - This mod is copyleftedhttps://github.com/alexetgus/List-Unsubsribe (https://github.com/alexetgus/List-Unsubsribe)
It's great for me, I was just thinking about implementing something similar, very good work @alexetgus thank you!
Regards!