How can i add List-Unsubscribe Header ?

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

phumy
Posts: 6
Joined: Wed Aug 08, 2012 10:36 am
Location: Ho Chi Minh City, VietNam

How can i add List-Unsubscribe Header ?

Post by phumy »

Hi,
I need to add List-Unsubscribe in email header.
Dose OpenEMM have this function ? ( not insert link in email )

Thanks and Regards.
maschoff
Site Admin
Posts: 2602
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: How can i add List-Unsubscribe Header ?

Post by maschoff »

Not yet.
OpenEMM Maintainer
phumy
Posts: 6
Joined: Wed Aug 08, 2012 10:36 am
Location: Ho Chi Minh City, VietNam

Re: How can i add List-Unsubscribe Header ?

Post by phumy »

maschoff wrote:Not yet.
I hope the next version of OpenEMM will have this function.
Thank for your support.
shi
Posts: 6
Joined: Thu Jan 03, 2013 3:36 pm

Re: How can i add List-Unsubscribe Header ?

Post by shi »

Hi,

I am using OpenEMM 2013 and it generates a List-Unsubscribe header but isn't it possible to change the value?
It sends the mails with:

Code: Select all

List-Unsubscribe: http://localhost/unsubscribe.html?<E-Mail-Address>
This is not very usefull.

Kind regards,
shi
maschoff
Site Admin
Posts: 2602
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: How can i add List-Unsubscribe Header ?

Post by maschoff »

This header line is only written if OpenEMM uses its internal MTA instead of Sendmail. The header line is implemented by plugin listUnsubscribeHeader.py. You can define its content in file /home/openemm/conf/semu/semu.cfg:

Code: Select all

[listUnsubscribeHeader]
uri: http://localhost/unsubscribe.html?%(urlrecv)s 
Placeholder %(urlrecv)s specifies the URL encoded receiver email address. You may also use %(recv)s (receiver email address), %(sender)s (sender email adress) and %(urlsender)s (URL encoded sender email address).
OpenEMM Maintainer
Post Reply