473,394 Members | 1,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Simple email viewer

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)

Thanks,

--
Bart
Jan 15 '08 #1
1 11947
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/
Jan 15 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: S | last post by:
Hello I have a (fairly) simple layout, part of which you folks so kindly helped me with already (thank you all). This layout contains: - A header area (100% width across top) - A nav area...
7
by: Mega1 | last post by:
is this possable to send more than 1 report in one email
1
by: Eric Law | last post by:
I want to create a simple applicaiton similar to the MSDN viewer with the tree view on the left and diplay html page on the right depends on the tree selection. any idea where I can get a sample of...
3
by: Francesc | last post by:
Hi, After some years programming libraries and web based applications I'm trying to program my first not-silly windows application (something similar to an editor but just to annotate text...
0
by: Jerry J | last post by:
I have a third party image viewer that can display various types of images. The image viewer is ActiveX and lives inside of Internet Explorer. To get the image viewer to retrieve an image, java...
2
by: Jon Delano | last post by:
Hello I'm looking for a simple TIFF viewer for a vb.net web application. The TIFFs are single page and I just need to display them and that is it ... nothing fancy at all. Anyone have a...
4
by: Steve B. | last post by:
Form1() has a selection menu for the user. Form1() calls Form2() with menu selections. Form2 opens a Crystal Report viewer. How do I this.Close() the Form1 properly so the user doesn't have...
1
by: monskie | last post by:
Hello to all, I have a problem which could be trivial to you guys. This concerns opening several crystal reports on the a crystal viewer on an ASPX page by calling window.open. My...
1
by: psbasha | last post by:
Hi, Is it possible to create a simple viewer using Tkinter Modueles?. If not ,is it possible thru Python and OpenGL or anyother ways of creating a simple viewer?. I would like to have the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.