Unsubscribe links on emails


#1

I am using discourse as a mailing list and when a topic is created via email an email notification is sent to all the users. I also enabled the unsubscribe via email footer setting. When a user replies to the first message there are now two unsubscribe links in the message one for the original author and the other for the user.
So the user can now unsubscribe the original author from getting any updates if they chose to. I am not sure if anyone has experienced this issue or am I missing something?


(Jeff Atwood) #2

So… disable that setting? Problem solved.


#3

I want the users to be able to unsubscribe using the link. Disabling it is not an option for us.


(Andy Logan) #4

I’m looking at a mail thread on my site, same setting enabled.I see a thread with the latest response, and 4 responses below that from previous interactions. I’m only seeing a single unsubscribe footer, I went through all the mails to be sure. Are they responding and cutting the old message into the new message maybe?


(Felix Freiberger) #5

Sounds like a problem with the email reply trimmer not being able to recognize the quoted part.

Maybe @zogstrip can have a look if you sent him the raw source of the email in question?

As a second line of defense, maybe Discourse could always censor unsubscribe tokens in posts received via email? The email reply trimmer is just based on heuristics, it shouldn’t be trusted for security… :thinking:


(Sam Saffron) #6

+1 to @fefrei pm a raw copy of the problem email to @zogstrip

The second line of defense idea is interesting but with Gmail almost everyone top posted, so it just works

I wonder if this is a non English site?


#7

I sent the raw email version to @zogstrip .
Ours is an english website based in United States.
I agree with @fefrei , email parser should definitely trim the unsubscribe links on replies.


#8

No, we are using this as a regular email thread.


(Régis Hanol) #9

The email @skodali PMed me had some elided content which it shouldn’t have, so I fixed it


#10

Will this fix be included in the next release?


(Vinoth Kannan) #11

If you are using default installation or “test-passed” branch then upgrade will include all recent updates. And you can do upgrade anytime between the #releases.


#12

We are still experiencing the issue even with the new fix. Anyone else having the same issue?


(Régis Hanol) #13

Do you have the site setting “incoming email prefer html” enabled? If not, you should try it.


(Jeff Atwood) #14

This is the new default now, @gerhard made the change about a week ago.


#15

Yes, we have the option enabled.


(Thomas K. Running) #16

I just enabled incoming emails on my forum and I’m having similar issues (the full quoted email is included in the post, including unsubscribe link, etc).

I’ve tried toggling the prefer html setting, but that didn’t help. I’ll send the raw email to @zogstrip, perhaps there’s still something not quite with the email parser?