It’s BROKEN. I’ve tried this many times, in many ways.
----- Original Message ----
From: Mat S. [email protected]
To: ruby-talk ML [email protected]
Sent: Thursday, January 4, 2007 7:08:51 AM
Subject: Re: unsubscribe
We can’t unsubscribe you, but you’ll find these in the headers for
most mailing lists. The List-Unsubscribe header is telling you to
send an email to [email protected] with ‘unsubscribe’ in
the body.
-Mat
It’s BROKEN. I’ve tried this many times, in many ways.
Unsubscription isn’t actually broken; there are feature limits. One of
those may be that your mail client sends messages in quoted-printable
format (I checked this against the original format in gmail) as
opposed to simple plain ASCII. I know that people who use gmail have
had problems when they send their messages in UTF-8 because the
messages are encoded base64.
It’s BROKEN. I’ve tried this many times, in many ways.
Unsubscription isn’t actually broken; there are feature limits. One of
those may be that your mail client sends messages in quoted-printable
format (I checked this against the original format in gmail) as
opposed to simple plain ASCII.
class Cropmail::Message
def body_matches re
if is_multipart? then
each { |p,invisible| # invisible is preamble or epilogue
return p.body_matches re unless invisible
}
else
decoded =~ re
end
end
end
mymessage.body_matches /…/u
Time for a Ruby ML Server?
Bertram
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.