• Welcome to Simple Machines Community Forum. Please login or sign up.
November 27, 2021, 01:17:52 AM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


List-Unsubscribe

Started by alexetgus, November 09, 2018, 09:09:59 AM

Previous topic - Next topic

alexetgus

Lien vers le mod

List-Unsubscribe header
by alexetgus

* 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.






No link to unsubscribe (MP, new registration, ...)




With an unsubscribe link (new subject or new response).








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.php


OR

For unsusbscribe this newsletter, click to the link :
http://mysite.tld/?notify=xxxx



https://chez-oim.org  -  This mod is copylefted
https://github.com/alexetgus/List-Unsubsribe

-Rock Lee-

It's great for me, I was just thinking about implementing something similar, very good work @alexetgus thank you!


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2020
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

alexetgus


alexetgus


Advertisement: