I have a small problem which maybe a little OT to the unix list...
I've got a small app which runs on debian linux, which polls a mail box and
foreach message that arrives I grab the subject line and the body data.
These emails are usually replies from people.
When I send the email out, I put in the body, something like this
==ems==
some text here
==ems==

now, from the body I try and grab what's between the ==ems==(.*?)==ems== .

for most this works fine, but for someone who replies it looks like the
encoding of the body is screwed up becuase the return body looks something
like

=3D=3Dems=3D=3D
some text here
=3D=3Dems=3D=3D

now obviously my regex won't work now, but also, if data contained between
the seperators spans over 2 lines it also puts an "=" at the end of the
line.

is there a way of decoding the body data?

tia

Geoff


_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to