News for hackers. Stuff that matters.
Re:Preventing Unsubscribes in Forwarded Emails by raldi on Tuesday March 05, 2013 @05:32PM (#5327862)
How does this work?
Re:Preventing Unsubscribes in Forwarded Emails by ComputerGuru on Tuesday March 05, 2013 @05:34PM (#5327872)
Read the linked article. Email clients wrap the contents of forwarded messages in a <blockquote>, you just have to use CSS rules to hide the contents of a "blockquote yourfooterclasss" while otherwise showing yourfooterclass by default.

EDIT I actually meant "read the article linked from the linked article" — I too spent a good minute there trying to find out their solution.

Re:Preventing Unsubscribes in Forwarded Emails by raldi on Tuesday March 05, 2013 @05:39PM (#5327907)
I read the article, and the only mention of blockquotes was in the CSS / HTML itself. I don't see any mention in the article about how it works.

Still, thanks for the explanation. Does every mail client do this (like, due to an RFC) or just the popular ones?

Re:Preventing Unsubscribes in Forwarded Emails by mnutt on Tuesday March 05, 2013 @06:11PM (#5328094)
It varies between mail clients, but they generally put the forwarded part of the message in either a blockquote or a div with a class that can be targeted. It's how the vertical blue line is produced for the quoted portion.
Re:Preventing Unsubscribes in Forwarded Emails by matt_heimer on Tuesday March 05, 2013 @07:26PM (#5328487)
Read here: http://jonathan-kim.com/2011/programmatically-customizing-a-...

Basically most e-mail clients change the dom structure in some way when you forward an email (like wrapping the original in a div). Write some CSS rules that require an unmodified structure to show the unsubscribe button.

Re:Preventing Unsubscribes in Forwarded Emails by hijonathan on Tuesday March 05, 2013 @08:54PM (#5328809)
Darn, you found me!