Gossamer Forum
Home : General : Perl Programming :

help with parsing mail attachments from textfiles

Quote Reply
help with parsing mail attachments from textfiles
Hi,

I want to parse textfiles for attachments to temporarily display their content (images, pdf). The files were downloaded from a pop3 account and saved as .txt. I found several tools to parse them and store the data on the server but actually I would prefer to just call a parsing routine to display them if neccessary.

Has anyone by accindent found something which could solve the problem...

Thanks

Niko
Quote Reply
Re: [el noe] help with parsing mail attachments from textfiles In reply to
You'll need:

http://search.cpan.org/...1a/lib/MIME/Tools.pm

to parse out attachments. If it's inside one of our products, you can also use GT::Mail::Parse.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] help with parsing mail attachments from textfiles In reply to
Hi Alex,

Thank you for your reply. I did not succeed yet, but I think this was the right hint.

Thanks

Niko