Re: Trouble with Email::MIME modules

2007-11-30 Thread Celejar
On Tue, 27 Nov 2007 22:21:06 +0100 "Filip Sneppe" <[EMAIL PROTECTED]> wrote: > I am calling this code like this: > > my $parser = new MIME::Parser; > $entity = $parser->parse_data($lines); > $convertedstring = convert_mime_to_8bit($log_fh, $loglevel, > $entity, ""); > > w

Re: Trouble with Email::MIME modules

2007-11-29 Thread Tom Phoenix
On 11/27/07, Filip Sneppe <[EMAIL PROTECTED]> wrote: > - for some reason, for every attachment in the email, it creates files on the > local filesystem. I don't want to have to clean these up manually. The module should provide some way to clean these up, if it creates them. > - more important

Re: Trouble with Email::MIME modules

2007-11-27 Thread Filip Sneppe
On Nov 27, 2007 7:20 PM, Tom Phoenix <[EMAIL PROTECTED]> wrote: > Well, the first part of what you'd like would seem to imply that > somebody else should write your program for you. But maybe you don't > mean that, you just want code that shows how to use the module? Any > good module should inclu

Re: Trouble with Email::MIME modules

2007-11-27 Thread Tom Phoenix
On 11/27/07, Filip Sneppe <[EMAIL PROTECTED]> wrote: > At this point I am getting so frustrated that I would simply like > to look at working code of what I need to achieve and then learn > where I went wrong. Well, the first part of what you'd like would seem to imply that somebody else should w

Trouble with Email::MIME modules

2007-11-27 Thread Filip Sneppe
Hi, I am trying to do the following: I have (an) email that is fetched from an IMAP server What I want to do is go over this mail and do two things: - change all "Content-Transfer-Encoding: quoted-printable" or "7bit" to 8bit - drop all MIME parts that are "Content-Type: text/html" and then sa