|
Posted by Manuel Lemos on 10/23/66 12:00
Hello,
on 01/15/2008 04:10 PM Bart Van der Donck said the following:
> Hello,
>
> In my application, I'm having a directory with a bunch of .eml files.
>
> It was my intention to read out with PHP this directory, make a list
> of it and show them as .eml links in the browser where the user could
> click on, which then opens into the default email client on the
> computer.
>
> It appears to be problematic to open .eml files from web into email
> client.
>
> Does such a thing exists as a simple "email viewer" in PHP ?
> - show the text or HTML content of the .eml file
> - show basic header info together with it (from, subject, date)
> - show attachments as downloadable files
> (basically just like most email clients show one message)
Yes, you can use the MIME message parser class to parse the message and
analyze its structure so you can easily display message contents to your
users:
http://www.phpclasses.org/mimeparser
--
Regards,
Manuel Lemos
PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
Navigation:
[Reply to this message]
|