SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu


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

Previous topic - Next topic


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 :


For unsusbscribe this newsletter, click to the link :
http://mysite.tld/?notify=xxxx  -  This mod is copylefted

-Rock Lee-

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

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