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 » Wed Sep 26, 2012 9:05 am

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: 2262
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: How can i add List-Unsubscribe Header ?

Post by maschoff » Thu Sep 27, 2012 8:59 pm

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 » Fri Sep 28, 2012 3:16 am

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 » Mon May 27, 2013 1:02 pm

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: 2262
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: How can i add List-Unsubscribe Header ?

Post by maschoff » Tue Jun 11, 2013 2:40 pm

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